Commit fa1d7492 authored by Facius's avatar Facius

fix: 切换用户的时候token过期

parent 439a8862
......@@ -254,7 +254,11 @@
},
handleSuperButton() {
this.$u.route({url: 'pages/mine/superLogin/index'})
if(this.vuex_token) {
this.$u.route({url: 'pages/mine/superLogin/index'})
} else {
this.$u.route({url: "pages/login/index"})
}
}
}
}
......
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