Commit 943073d2 authored by 王李辉's avatar 王李辉

Merge branch 'develop' of http://git.censoft.com.cn/BCDH-HSE/bcdh-app into develop

parents 817cc501 710556d9
......@@ -13,7 +13,8 @@ router.beforeEach(async(to, from, next) => {
console.log(hasToken)
if (hasToken) {
if (to.path === '/login2') {
next({ path: '/MessageCenter' })
alert(123)
next({ path: '/message-center' })
} else {
next()
}
......
......@@ -73,7 +73,7 @@ export default {
background:'green',
duration: 1000
})
this.$router.push('/MessageCenter')
this.$router.push('/message-center')
setToken(Response.data)
}
})
......
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