diff --git a/.env.development b/.env.development index f620d0e7..93437482 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:7002' +VITE_APP_BASE_API_Url = 'https://aitstest.jlbank.com.cn:7001' # DEV diff --git a/src/components/touch-btn/touch-btn.vue b/src/components/touch-btn/touch-btn.vue index e32c5558..6ddeaef3 100644 --- a/src/components/touch-btn/touch-btn.vue +++ b/src/components/touch-btn/touch-btn.vue @@ -575,7 +575,7 @@ }; // 禁用时点击给的提示 const disabled_click = () => { - if (props.isDisabled) { + if (props.isDisabled && props.disabledText) { console.log('禁用时点击给的提示', props.disabledText); common.msg(props.disabledText); } diff --git a/src/pages/index/dialog.vue b/src/pages/index/dialog.vue index 7d57eeab..fea35909 100644 --- a/src/pages/index/dialog.vue +++ b/src/pages/index/dialog.vue @@ -147,7 +147,7 @@ /> --> + :adjustPosition="true" :isDisabled="isHistory" :disabledText="''"/> @@ -705,6 +705,9 @@ // 新发送语音 const submitVoice = ({ossKey, text}) => { console.log('新发送语音',ossKey,text); + // if (talkingList.value.length > 0 && talkingList.value[talkingList.value.length - 1].isLoading) { + // return + // } if(!ossKey) { talkingList.value.pop(); uni.showToast({