diff --git a/packages/customerService/chattingRecords/index.vue b/packages/customerService/chattingRecords/index.vue index 89159756..383ff42c 100644 --- a/packages/customerService/chattingRecords/index.vue +++ b/packages/customerService/chattingRecords/index.vue @@ -68,9 +68,9 @@ export default { }, getAvatarUrl(record){ if(record.client_id_one == uni.getStorageSync('openId')){ - return record.two.avatar ? picUrl + record.two.avatar : 'https://wechat-img-file.oss-cn-beijing.aliyuncs.com/property-img-file/defaultTx.png' + return record.two.avatar ? picUrl + record.two.avatar : 'https://wechat-img-file.oss-cn-beijing.aliyuncs.com/defaultTx.png' }else{ - return record.one.avatar ? picUrl + record.one.avatar : 'https://wechat-img-file.oss-cn-beijing.aliyuncs.com/property-img-file/defaultTx.png' + return record.one.avatar ? picUrl + record.one.avatar : 'https://wechat-img-file.oss-cn-beijing.aliyuncs.com/defaultTx.png' } }, // 格式化时间 diff --git a/packages/customerService/index/index.vue b/packages/customerService/index/index.vue index 1d09f0d8..d17afc80 100644 --- a/packages/customerService/index/index.vue +++ b/packages/customerService/index/index.vue @@ -153,7 +153,7 @@ export default { }, methods: { getAvatarUrl(record) { - return this.chatTarget.employee_image ? this.chatTarget.employee_image : 'https://wechat-img-file.oss-cn-beijing.aliyuncs.com/property-img-file/defaultTx.png' + return this.chatTarget.employee_image ? this.chatTarget.employee_image : 'https://wechat-img-file.oss-cn-beijing.aliyuncs.com/defaultTx.png' }, async connect() { this.client = null