1
This commit is contained in:
parent
e1bf906d5f
commit
77bbeb4454
@ -316,9 +316,7 @@
|
||||
getInfo().then((res) => {
|
||||
let userJson = {}
|
||||
userJson.userId = res.data.user.id
|
||||
let userInfo = res.data.user.info
|
||||
userInfo.id = res.data.user.id
|
||||
uni.setStorageSync('userInfo', userInfo)
|
||||
uni.setStorageSync('userInfo', res.data.user)
|
||||
uni.setStorageSync('userId', res.data.user.id)
|
||||
uni.setStorageSync('role', res.data.roles)
|
||||
this.goselect()
|
||||
|
@ -22,7 +22,7 @@
|
||||
<view style="display: flex; align-items: center;">
|
||||
<text>{{ userinfo.nickname || '用户昵称'}}</text>
|
||||
</view>
|
||||
<text style="font-size: 14px;font-weight: normal;color: #88b4fb">{{userinfo.phonenumber || '未填写手机号码'}}</text>
|
||||
<text style="font-size: 14px;font-weight: normal;color: #88b4fb">{{userinfo.mobile || '未填写手机号码'}}</text>
|
||||
</view>
|
||||
</view>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user