Fix(AI):[#3663]输入框中语音输入,未识别到有效语音时,增加提示“没有听清您说了什么,请再说一遍”
This commit is contained in:
@@ -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)
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user