Selaa lähdekoodia

fix: login stuff

pull/63/head
Tyler Chen 4 vuotta sitten
vanhempi
commit
dfe69120e3
2 muutettua tiedostoa jossa 10 lisäystä ja 0 poistoa
  1. +1
    -0
      src/_pages/Layout.vue
  2. +9
    -0
      src/_router/index.js

+ 1
- 0
src/_pages/Layout.vue Näytä tiedosto

@@ -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 Näytä tiedosto

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


Ladataan…
Peruuta
Tallenna