From b70ed263ac4f67e52475b53592c25444a11ac369 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=A8=E8=88=AA?= Date: Wed, 26 Nov 2025 14:56:40 +0800 Subject: [PATCH] fix: bug --- src/pages/index/dialog.vue | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/pages/index/dialog.vue b/src/pages/index/dialog.vue index 7dcd07a9..d3236cf9 100644 --- a/src/pages/index/dialog.vue +++ b/src/pages/index/dialog.vue @@ -228,6 +228,7 @@ }; const showModelComfirm = ref(false); const reconcatNum = ref(1); + const askTime = ref(0) const initsocketTask = () => { isHistory.value = false; socketStore.creatSocket('/traask/asksocket/open?summary='); @@ -290,7 +291,6 @@ if (commond === 'ASK-START') { // console.log('开启对话!') reqBatch.value = body.reqBatch; - pointAndBadgesRun('06') return; } if (commond === 'ASK') { @@ -298,6 +298,10 @@ if (talkingList.value.length > 0 && talkingList.value[talkingList.value.length - 1].isLoading) { talkingList.value.pop(); } + if (askTime.value === 0){ + pointAndBadgesRun('06') + askTime.value = 1 + } seqNo.value = body.seqNo; touchBtnCallBack.value && touchBtnCallBack.value(); touchBtnCallBack.value = null;