Commit f77cea0e by wangyalan-git

没ticket

parent 267f5fca
...@@ -47,6 +47,10 @@ export default { ...@@ -47,6 +47,10 @@ export default {
}) })
}, },
getTicketLogin () { getTicketLogin () {
if (!this.$route.query.ticket) {
this.$toast('该用户不存在')
return
}
this.$store.dispatch('getTicketLogin', { ticket: this.$route.query.ticket }).then(() => { this.$store.dispatch('getTicketLogin', { ticket: this.$route.query.ticket }).then(() => {
this.$store.dispatch('GetUserInfo').then(res => { this.$store.dispatch('GetUserInfo').then(res => {
this.userInfo = res.data this.userInfo = res.data
......
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