update
This commit is contained in:
@@ -180,9 +180,15 @@
|
||||
return false
|
||||
} else {
|
||||
me.loginIn(res.data.token); //存储一个字符传值
|
||||
uni.navigateTo({
|
||||
url: '/pageA/topick/topick'
|
||||
})
|
||||
if (res.data.member.has_labels) {
|
||||
uni.switchTab({
|
||||
url: '/pages/index/index'
|
||||
})
|
||||
} else {
|
||||
uni.navigateTo({
|
||||
url: '/pageA/topick/topick'
|
||||
})
|
||||
}
|
||||
// 缓存用户的信息
|
||||
// uni.setStorageSync({
|
||||
// key: 'user_info',
|
||||
@@ -198,7 +204,6 @@
|
||||
}
|
||||
|
||||
// 存储接口请求所需token
|
||||
me.loginIn(res.data.token); //存储一个字符传值
|
||||
// // 注册返回参数
|
||||
// this.$refs.uToast.show({
|
||||
// title: res.message,
|
||||
|
||||
Reference in New Issue
Block a user