提交 9203f414 authored 作者: matian's avatar matian

Merge remote-tracking branch 'origin/vite' into vite

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