Merge branch 'master' of http://git.feashow.cn/odjbin/city-store-transfer
This commit is contained in:
@@ -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接口
|
||||
|
||||
@@ -54,9 +54,6 @@
|
||||
return
|
||||
}
|
||||
this.isLoad = true
|
||||
this.src = uni.getStorageSync('avatar')
|
||||
this.username = uni.getStorageSync('nickname')
|
||||
this.account = uni.getStorageSync('account')
|
||||
},
|
||||
methods: {
|
||||
reOnLoad() {
|
||||
|
||||
Reference in New Issue
Block a user