未验证 提交 defdbd46 编写于 作者: E Evan 提交者: GitHub

Merge pull request #51 from Antabot/dev

fix: fix the error performance when click menu item
...@@ -31,7 +31,6 @@ router.beforeEach((to, from, next) => { ...@@ -31,7 +31,6 @@ router.beforeEach((to, from, next) => {
axios.get('/authentication').then(resp => { axios.get('/authentication').then(resp => {
if (resp) next() if (resp) next()
}) })
next()
} else { } else {
next({ next({
path: 'login', path: 'login',
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册