chore:智能客服的头像换了

This commit is contained in:
2026-04-14 09:42:09 +08:00
parent 611c0b930b
commit 1be7155fe8
3 changed files with 46 additions and 11 deletions

View File

@@ -471,13 +471,11 @@ export class CustomerService {
const shopInfo = this.vm.shopInfo || {};
const config = this.getPlatformConfig();
if (config?.type === 'aikefu') {
return shopInfo.aiAgentimg || '';
} else if (config?.type === 'wxwork' || config?.type === 'qyweixin') {
return shopInfo.aiAgentimg || '';
} else if (config?.type === 'third') {
return '';
// 优先使用指定的智能客服头像
if (config?.type === 'aikefu' || config?.type === 'wxwork' || config?.type === 'qyweixin') {
return '/static/images/image_460671319773954.png';
}
return shopInfo.kefuimg || this.vm.$util?.getDefaultImage()?.kefu || '';
}