提交 d1dfdbc9 authored 作者: haodaking's avatar haodaking

bug fixes

上级 6e4bc06d
...@@ -9,7 +9,7 @@ export default async function (to, from, next) { ...@@ -9,7 +9,7 @@ export default async function (to, from, next) {
// await store.dispatch('createGuestUser') // await store.dispatch('createGuestUser')
// 登录白名单 // 登录白名单
const whiteList = ['/role'] const whiteList = ['/role', '/index']
if (whiteList.includes(to.path)) { if (whiteList.includes(to.path)) {
next() next()
return return
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论