|
|
@@ -468,7 +468,10 @@
|
|
|
getUserInfo() {
|
|
|
this.$api.user.getUserInfo().then(res => {
|
|
|
this.userInfo = res.data.data
|
|
|
- this.getImgUrlByOssId(this.userInfo.avatar)
|
|
|
+ uni.setStorageSync('userInfo', this.userInfo )
|
|
|
+ if (this.userInfo.avatar){
|
|
|
+ this.getImgUrlByOssId(this.userInfo.avatar)
|
|
|
+ }
|
|
|
if (this.userInfo.signIn){
|
|
|
this.currServiceInfo()
|
|
|
}
|