Update index.vue
This commit is contained in:
parent
bf6106184d
commit
aae91ddd91
@ -1019,6 +1019,9 @@ const handleApplyConsult = async () => {
|
|||||||
if (!groupInfo.success || !groupInfo.data) {
|
if (!groupInfo.success || !groupInfo.data) {
|
||||||
throw new Error("获取群组信息失败");
|
throw new Error("获取群组信息失败");
|
||||||
}
|
}
|
||||||
|
if (groupInfo.data.disabled) {
|
||||||
|
throw new Error("当前聊天已关闭, 请重新发起咨询");
|
||||||
|
}
|
||||||
|
|
||||||
const customerId = groupInfo.data.customerId;
|
const customerId = groupInfo.data.customerId;
|
||||||
const groupCorpId = groupInfo.data.corpId;
|
const groupCorpId = groupInfo.data.corpId;
|
||||||
@ -1033,6 +1036,7 @@ const handleApplyConsult = async () => {
|
|||||||
corpId: groupCorpId || corpId.value,
|
corpId: groupCorpId || corpId.value,
|
||||||
customerId: customerId,
|
customerId: customerId,
|
||||||
customerImUserId: openid.value,
|
customerImUserId: openid.value,
|
||||||
|
groupId: groupId.value,
|
||||||
});
|
});
|
||||||
|
|
||||||
uni.hideLoading();
|
uni.hideLoading();
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user