change base url and translate login page and add field
This commit is contained in:
+2
-1
@@ -25,7 +25,7 @@ const router = new Router({
|
||||
}
|
||||
},
|
||||
{
|
||||
path: '/auth/register',
|
||||
path: '/register/form',
|
||||
name: 'auth-register',
|
||||
component: () => import('./views/register/Register.vue'),
|
||||
meta: {
|
||||
@@ -103,6 +103,7 @@ router.afterEach(() => {
|
||||
})
|
||||
|
||||
router.beforeEach((to, from, next) => {
|
||||
return next();
|
||||
let isLogin = localStorage.getItem('accessToken');
|
||||
console.log("to.path ==> ", to.path);
|
||||
if (
|
||||
|
||||
Reference in New Issue
Block a user