Commit 21d86123 authored by 王李辉's avatar 王李辉

去掉登录成功难看的提示

parent df81896b
...@@ -13,7 +13,6 @@ router.beforeEach(async(to, from, next) => { ...@@ -13,7 +13,6 @@ router.beforeEach(async(to, from, next) => {
console.log(hasToken) console.log(hasToken)
if (hasToken) { if (hasToken) {
if (to.path === '/login2') { if (to.path === '/login2') {
alert(123)
next({ path: '/message-center' }) next({ path: '/message-center' })
} else { } else {
next() next()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment