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;