Commit 63cb43e3 by wangjian

1

parent 1d614500
......@@ -127,10 +127,12 @@
this.loading.loadingHide()
if (res.code === 200) {
this.$net.tokenSave(res.data.token || '')
if (res.date&&res.date.list) {
this.$store.commit('refreshUserLogin', true)
if (res.data.accountSwitching != 0) {
this.$router.replaceTo('SelectAccount')
} else {
this.$router.pop()
}
this.$router.push('SelectAccount')
} else {
this.toast(res.message)
}
......
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