chore(build): 调整ai-chat-message组件的位置,减少对主包尺寸的影响
This commit is contained in:
@@ -109,6 +109,7 @@ export default {
|
||||
});
|
||||
},
|
||||
methods: {
|
||||
|
||||
/**
|
||||
* 初始化多语言配置
|
||||
*/
|
||||
@@ -130,12 +131,14 @@ export default {
|
||||
this.currentLangIndex = 0;
|
||||
}
|
||||
},
|
||||
|
||||
/**
|
||||
* 电话联系客服
|
||||
*/
|
||||
call() {
|
||||
this.customerService.makePhoneCall(this.tel);
|
||||
},
|
||||
|
||||
/**
|
||||
* 切换中英文语言,并刷新当前页面(保留所有参数)
|
||||
*/
|
||||
@@ -153,12 +156,12 @@ export default {
|
||||
openAIChat() {
|
||||
this.$util.redirectTo(this.$util.AI_CHAT_PAGE_URL);
|
||||
},
|
||||
|
||||
/**
|
||||
* 打开客服选择对话框
|
||||
*/
|
||||
openCustomerSelectPopup() {
|
||||
if (this.customerService) {
|
||||
this.customerService.openCustomerSelectPopupDialog();
|
||||
} else {
|
||||
uni.showToast({ title: '客服初始化中,请稍后重试', icon: 'none' });
|
||||
}
|
||||
this.customerService.openCustomerSelectPopupDialog();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user