【类 型】:fix
【原 因】:路由模式 必须是 hash 模式,不能是 history 后者在安卓端失去token时候 会有一个跳转失败的错误提示框 【过 程】: 【影 响】:
This commit is contained in:
parent
3ea08984b7
commit
c1e0a1e535
@ -509,7 +509,7 @@ const routes = [
|
||||
]
|
||||
|
||||
const router = new VueRouter({
|
||||
mode: 'history',
|
||||
mode: 'hash',
|
||||
base: process.env.BASE_URL,
|
||||
routes
|
||||
})
|
||||
|
Loading…
Reference in New Issue
Block a user