Fix(AI):[#3663]输入框中语音输入,未识别到有效语音时,增加提示“没有听清您说了什么,请再说一遍”

This commit is contained in:
lifizer
2025-04-24 15:59:32 +08:00
parent 1636c77cfd
commit 0885a908ea
+3 -1
View File
@@ -252,6 +252,7 @@ export default {
fail: err => {
console.log(err)
uni.hideLoading()
_this.$toast('没有听清您说了什么,请再说一遍')
}
})
} else {
@@ -270,8 +271,8 @@ export default {
_this.taskId = taskRes.data
_this.getTransResultReq()
}).catch(() => {
_this.$toast('没有听清您说了什么,请再说一遍')
uni.hideLoading()
_this.$toast('没有听清您说了什么,请再说一遍')
})
},
getTransResultReq() {
@@ -297,6 +298,7 @@ export default {
}
}).catch(() => {
uni.hideLoading()
_this.$toast('没有听清您说了什么,请再说一遍')
})
}, 1000)
},