|
@@ -73,6 +73,7 @@ export default {
|
|
this.userFormShow=false
|
|
this.userFormShow=false
|
|
api.user.userInfoGetUserInfo().then(res => {
|
|
api.user.userInfoGetUserInfo().then(res => {
|
|
this.userInfo = res.data.data
|
|
this.userInfo = res.data.data
|
|
|
|
+ uni.setStorageSync('userInfo',this.userInfo)
|
|
})
|
|
})
|
|
|
|
|
|
})
|
|
})
|
|
@@ -99,6 +100,7 @@ export default {
|
|
uni.setStorageSync("token", res.data.data.token)
|
|
uni.setStorageSync("token", res.data.data.token)
|
|
api.user.userInfoGetUserInfo().then(res => {
|
|
api.user.userInfoGetUserInfo().then(res => {
|
|
this.userInfo = res.data.data
|
|
this.userInfo = res.data.data
|
|
|
|
+ uni.setStorageSync('userInfo',this.userInfo)
|
|
})
|
|
})
|
|
// api.user.userInfoGetWxacodeunLimit().then(result => {
|
|
// api.user.userInfoGetWxacodeunLimit().then(result => {
|
|
// this.codeImg = "data:image/png;base64," + result.data.data
|
|
// this.codeImg = "data:image/png;base64," + result.data.data
|