support user sign up

This commit is contained in:
MaysWind
2020-10-25 22:03:18 +08:00
parent 9c0af9a1bd
commit 56d7834f54
6 changed files with 167 additions and 0 deletions
+6
View File
@@ -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,