浏览代码

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 },


正在加载...
取消
保存