Commit ebefcde7 authored by 罗新东's avatar 罗新东

提交了tabbar默认定位位置

parent abe6a7d8
Pipeline #7456 passed with stage
in 10 seconds
......@@ -15,7 +15,7 @@
export default {
data() {
return {
active: 0,
active: 1,
tabBarList: [
{
key: "1",
......
......@@ -12,7 +12,7 @@ router.beforeEach(async(to, from, next) => {
const hasToken = getToken()//确定用户是否已登录
if (hasToken) {
if (to.path === '/login2') {
next({ path: '/message-center' })
next({ path: '/save-workbench' })
} else {
next()
}
......
......@@ -85,7 +85,7 @@ export default {
setUserInfo(userInfo)
})
setToken(Response.data)
this.$router.push('/message-center')
this.$router.push('/save-workbench')
}else if(Response.code==301){
this.$toast.clear()
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