no message
This commit is contained in:
@@ -91,8 +91,8 @@
|
|||||||
} else {
|
} else {
|
||||||
this.$store.dispatch('delLoginName', '')
|
this.$store.dispatch('delLoginName', '')
|
||||||
}
|
}
|
||||||
this.$store.dispatch('saveUserInfo', JSON.stringify(res.data.user))
|
this.$store.dispatch('saveUserInfo', JSON.stringify(res.data.user.user))
|
||||||
this.$store.dispatch('saveToken', res.token)
|
this.$store.dispatch('saveToken', res.data.token)
|
||||||
uni.redirectTo({
|
uni.redirectTo({
|
||||||
url: '/pages/home/home'
|
url: '/pages/home/home'
|
||||||
})
|
})
|
||||||
|
|||||||
Reference in New Issue
Block a user