fix: bug

This commit is contained in:
杨航
2025-12-09 15:21:39 +08:00
parent 121a2e06c0
commit 537f943409
+22 -11
View File
@@ -323,17 +323,28 @@
}
showModelComfirm.value = true;
reconcatNum.value += 1;
// common
// .show('提示信息', '网络环境不稳定,请重试!', false, '', '确认')
// .then((res) => {
// overNow(() => {
// reconcatNum.value += 1;
// common.redirectTo(`/pages/index/dialog`);
// });
// })
// .finally(() => {
// showModelComfirm.value = false;
// });
common
.show('提示信息', '网络环境不稳定,请重试!', false, '', '确认')
.then((res) => {
overNow(() => {
reconcatNum.value += 1;
// common.redirectTo(`/pages/index/dialog`);
socketStore?.closeSocket();
common.navigateTo(
'/pages/sparring/result?isOver=1&traId=' +
traId.value +
'&execId=' +
execId.value +
'&type=' +
talkingType.value +
'&isPreview=' +
(isPreview.value ? '1' : '')
);
});
})
.finally(() => {
showModelComfirm.value = false;
});
});
unref(SocketObj).on('message', (res) => {
const { rtnCode, body, commond } = JSON.parse(res.data);