Commit 1d189b97 authored by 罗新东's avatar 罗新东

修复了部分bug

parent 4d68bbb1
...@@ -13,7 +13,8 @@ ...@@ -13,7 +13,8 @@
<header class="header"> <header class="header">
<van-icon @click="to" name="arrow-left" class="iconColorLeft"/> <van-icon @click="to" name="arrow-left" class="iconColorLeft"/>
<span>{{text}}</span> <span>{{text}}</span>
<van-icon name="bars" class="iconColorRight"/> <!-- 为止有什么用图标注释 -->
<!-- <van-icon name="bars" class="iconColorRight"/> -->
</header> </header>
</div> </div>
</template> </template>
......
...@@ -12,7 +12,7 @@ router.beforeEach(async(to, from, next) => { ...@@ -12,7 +12,7 @@ router.beforeEach(async(to, from, next) => {
const hasToken = getToken()//确定用户是否已登录 const hasToken = getToken()//确定用户是否已登录
if (hasToken) { if (hasToken) {
if (to.path === '/login2') { if (to.path === '/login2') {
next({ path: '/message-center' }) next({ path: '/save-workbench' })
} else { } else {
next() next()
} }
......
...@@ -85,7 +85,7 @@ export default { ...@@ -85,7 +85,7 @@ export default {
setUserInfo(userInfo) setUserInfo(userInfo)
}) })
setToken(Response.data) setToken(Response.data)
this.$router.push('/message-center') this.$router.push('/save-workbench')
}else if(Response.code==301){ }else if(Response.code==301){
this.$toast.clear() this.$toast.clear()
this.$toast.fail({ this.$toast.fail({
......
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