tk
This commit is contained in:
@@ -96,7 +96,7 @@
|
|||||||
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))
|
||||||
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