diff --git a/.env.development b/.env.development index f8c85ebb..bc2a8d2a 100644 --- a/.env.development +++ b/.env.development @@ -5,7 +5,7 @@ ENV = 'development' #VITE_APP_BASE_API_Url = 'https://aits.jlbank.com.cn:7001' -VITE_APP_BASE_API_Url = 'https://aitstest.jlbank.com.cn:7001' +VITE_APP_BASE_API_Url = 'https://aitstest.jlbank.com.cn:7002' # DEV #VITE_APP_BASE_API_Url = 'http://25.18.122.65:7001' diff --git a/src/pages/index/dialog.vue b/src/pages/index/dialog.vue index 3fbc3ccd..2419e313 100644 --- a/src/pages/index/dialog.vue +++ b/src/pages/index/dialog.vue @@ -122,7 +122,7 @@ /> --> + :adjustPosition="true" :isDisabled="isHistory || isSending" :disabledText="''" style="margin-left: 10rpx;"/> @@ -485,9 +485,13 @@ seqNo: seqNo.value } }); + talkQnsList.value = []; sendMessage({ commond: 'ASK', - body: data.askData + body: { + ...data.askData, + isReload: true + } }); // // 设置停止回调 // stopAnswerCallBack.value = ($data) => { @@ -718,7 +722,7 @@ }; // 新发送语音前loading动画 const sendLoading = () => { - isSending.value = true + isSending.value = true talkQnsList.value = []; talkingList.value.push({ type: 'question', @@ -739,7 +743,7 @@ // } if (!ossKey) { talkingList.value.pop(); - isSending.value = false + isSending.value = false uni.showToast({ title: '系统异常,请联系管理员', icon: 'none', @@ -758,7 +762,7 @@ }); } else { talkingList.value.pop(); - isSending.value = false + isSending.value = false uni.showToast({ title: '未识别到文字', icon: 'none',