云员工头像处理

main
lijingyu007 6 months ago
parent 37400b3c44
commit b0ac7537ff
  1. 7
      pages/index/outsourcing/moreCloud.vue
  2. 4
      pages/personal/personal.vue

@ -58,6 +58,7 @@
pageSize: 10,
keyword: '',
},
base: this.http.baseUrl
};
},
onLoad() {
@ -77,6 +78,11 @@
true).then(res => {
this.peopleList = [...this.peopleList, ...res.data.rows]
this.total = res.data.total
this.peopleList.forEach(it => {
if (it.avatar.indexOf('/prod-api') == -1) {
it.avatar = this.base + it.avatar
}
})
})
},
@ -272,6 +278,7 @@
color: #808080;
}
.jlboxbottoml text {
max-width: 120rpx;
overflow: hidden;

@ -169,6 +169,9 @@
}
},
onShow() {
},
onLoad() {
let Token = uni.getStorageSync('accessToken');
if (Token) {
this.phoneuserinfo = uni.getStorageSync('wxUserInfo');
@ -195,7 +198,6 @@
this.useListLength = 0
}
},
onLoad() {},
methods: {
//
async getNum() {

Loading…
Cancel
Save