Update index.vue

This commit is contained in:
huxuejian 2026-10-15 18:33:02 +08:00
parent bf6106184d
commit aae91ddd91

View File

@ -1019,6 +1019,9 @@ const handleApplyConsult = async () => {
if (!groupInfo.success || !groupInfo.data) {
throw new Error("获取群组信息失败");
}
if (groupInfo.data.disabled) {
throw new Error("当前聊天已关闭, 请重新发起咨询");
}
const customerId = groupInfo.data.customerId;
const groupCorpId = groupInfo.data.corpId;
@ -1033,6 +1036,7 @@ const handleApplyConsult = async () => {
corpId: groupCorpId || corpId.value,
customerId: customerId,
customerImUserId: openid.value,
groupId: groupId.value,
});
uni.hideLoading();