chore:改了头像的地址

This commit is contained in:
2026-04-20 15:44:58 +08:00
parent 7675e8e04d
commit d8b78168a8
4 changed files with 25 additions and 11 deletions

View File

@@ -2,6 +2,8 @@
* 客服统一处理服务
* 整合各种客服方式,提供统一的调用接口
*/
import IMAGE_CONFIG from './image-config.js';
export class CustomerService {
constructor(vueInstance, externalConfig = null) {
this.vm = vueInstance;
@@ -473,7 +475,7 @@ export class CustomerService {
// 优先使用指定的智能客服头像
if (config?.type === 'aikefu' || config?.type === 'wxwork' || config?.type === 'qyweixin') {
return '/static/images/image_680328925892268.png';
return this.vm.$util.img(IMAGE_CONFIG.aiAvatar);
}
return shopInfo.kefuimg || this.vm.$util?.getDefaultImage()?.kefu || '';