提交 07260821 编写于 作者: Mr.奇淼('s avatar Mr.奇淼(

修复第一次跳转白屏

上级 d00be180
......@@ -18,7 +18,7 @@ router.beforeEach(async(to, from, next) => {
// 在白名单中的判断情况
if (whiteList.indexOf(to.name) > -1) {
if (token) {
next({ name: 'dashbord' })
next({ path: '/layout/dashbord' })
} else {
next()
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册