mirror of
https://github.com/mayswind/ezbookkeeping.git
synced 2026-05-17 16:24:25 +08:00
support user sign up
This commit is contained in:
@@ -4,6 +4,7 @@ import MainPage from '../views/mobile/Main.vue';
|
||||
import MainPageHomeTab from '../views/mobile/main/Home.vue';
|
||||
|
||||
import LoginPage from '../views/mobile/Login.vue';
|
||||
import SignUpPage from '../views/mobile/Signup.vue';
|
||||
import SettingsPage from '../views/mobile/Settings.vue';
|
||||
|
||||
function checkLogin(to, from, resolve, reject) {
|
||||
@@ -49,6 +50,11 @@ const routes = [
|
||||
component: LoginPage,
|
||||
beforeEnter: checkNotLogin
|
||||
},
|
||||
{
|
||||
path: '/signup',
|
||||
component: SignUpPage,
|
||||
beforeEnter: checkNotLogin
|
||||
},
|
||||
{
|
||||
path: '/settings',
|
||||
component: SettingsPage,
|
||||
|
||||
Reference in New Issue
Block a user