Update index.vue
This commit is contained in:
parent
bf6106184d
commit
aae91ddd91
@ -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();
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user