소스 검색

fix: login stuff

pull/63/head
Tyler Chen 4 년 전
부모
커밋
dfe69120e3
2개의 변경된 파일10개의 추가작업 그리고 0개의 파일을 삭제
  1. +1
    -0
      src/_pages/Layout.vue
  2. +9
    -0
      src/_router/index.js

+ 1
- 0
src/_pages/Layout.vue 파일 보기

@@ -42,6 +42,7 @@ export default {
...mapState('system', ['configs', 'messages']),

isPageAvailable() {
console.log('current user', this.currentUser);
return (
!this.currentUser ||
((this.verifiedContacts ||


+ 9
- 0
src/_router/index.js 파일 보기

@@ -189,6 +189,15 @@ export const router = new Router({
query: { download: r.params.uuid },
}),
},
{ path: 'login', component: () => import('~/_pages/auth/Login') },
{
path: 'forgotPassword',
component: () => import('~/_pages/auth/ForgotPassword'),
},
{
path: 'register',
component: () => import('~/_pages/auth/Register'),
},
{ path: 'me/action', component: ActionPage },
{ path: 'apps', component: AppsPage },
{ path: 'app/:app', component: AppPage },


불러오는 중...
취소
저장