This commit is contained in:
Gdpao
2020-08-01 11:16:53 +08:00
parent f30c4f4922
commit 5b31193750
11 changed files with 279 additions and 125 deletions

View File

@@ -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,