Merge pull request '邓洁 : 修改细节' (#47) from dj into master

Reviewed-on: http://git.feashow.cn/odjbin/city-store-transfer/pulls/47
This commit is contained in:
odjbin
2023-11-15 09:54:10 +00:00
2 changed files with 0 additions and 7 deletions

View File

@@ -58,10 +58,6 @@
console.log('res.da',res);
// console.log('登录code换取的信息', data);
uni.setStorageSync('loginToken', data.token);
uni.setStorageSync('avatar', data.avatar);
uni.setStorageSync('nickname', data.nickname);
uni.setStorageSync('account', data.sn);
uni.setStorageSync('mobile', data.mobile);
that.$toast.success('登录成功')
that.$emit('success')
//登录完成后使用手机code换取手机号,调用/user/getMobileByMnp接口

View File

@@ -53,9 +53,6 @@
return
}
this.isLoad = true
this.src = uni.getStorageSync('avatar')
this.username = uni.getStorageSync('nickname')
this.account = uni.getStorageSync('account')
},
methods: {
reOnLoad() {