登录成功
This commit is contained in:
@@ -281,8 +281,9 @@ export default {
|
||||
this.autoLogin({loginWay: 'admin', phoneCode}).then(() => {
|
||||
this.getUserInfo()
|
||||
this.getHistoryList()
|
||||
this.$u.toast('登录成功')
|
||||
})
|
||||
} else this.$u.toast("已登录,无需重新登录!")
|
||||
}
|
||||
},
|
||||
},
|
||||
}
|
||||
|
||||
@@ -70,8 +70,9 @@
|
||||
if (!this.token) {
|
||||
this.autoLogin({loginWay: 'admin', phoneCode}).then(() => {
|
||||
this.getUserInfo()
|
||||
this.$u.toast('登录成功')
|
||||
})
|
||||
} else this.$u.toast("已登录,无需重新登录!")
|
||||
}
|
||||
},
|
||||
onLogout() {
|
||||
uni.showModal({
|
||||
|
||||
Reference in New Issue
Block a user