fix: 三方绑定联调
This commit is contained in:
parent
2bd5fb94d9
commit
4d83ed9e46
|
@ -10,7 +10,6 @@ const router = createRouter({
|
||||||
|
|
||||||
router.beforeEach((to, from, next) => {
|
router.beforeEach((to, from, next) => {
|
||||||
const token = LocalStore.get(TOKEN_KEY)
|
const token = LocalStore.get(TOKEN_KEY)
|
||||||
next() // 测试用, 可删除
|
|
||||||
if (token) {
|
if (token) {
|
||||||
next()
|
next()
|
||||||
} else {
|
} else {
|
||||||
|
|
|
@ -29,7 +29,7 @@ export default [
|
||||||
component: () => import('@/views/demo/index.vue')
|
component: () => import('@/views/demo/index.vue')
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
path: '/bind',
|
path: '/account/center/bind',
|
||||||
component: () => import('@/views/account/Center/bind/index.vue')
|
component: () => import('@/views/account/Center/bind/index.vue')
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue