Fix(AI):[#3663]输入框中语音输入,未识别到有效语音时,增加提示“没有听清您说了什么,请再说一遍”
This commit is contained in:
@@ -259,6 +259,8 @@ export default {
|
|||||||
uni.hideLoading()
|
uni.hideLoading()
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
} else {
|
||||||
|
_this.$toast('没有听清您说了什么,请再说一遍')
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
@@ -273,6 +275,7 @@ export default {
|
|||||||
_this.taskId = taskRes.data
|
_this.taskId = taskRes.data
|
||||||
_this.getTransResultReq()
|
_this.getTransResultReq()
|
||||||
}).catch(() => {
|
}).catch(() => {
|
||||||
|
_this.$toast('没有听清您说了什么,请再说一遍')
|
||||||
uni.hideLoading()
|
uni.hideLoading()
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
@@ -287,7 +290,7 @@ export default {
|
|||||||
uni.hideLoading()
|
uni.hideLoading()
|
||||||
_this.clearIntervalFn()
|
_this.clearIntervalFn()
|
||||||
if (data === '__NULL__') {
|
if (data === '__NULL__') {
|
||||||
_this.$toast('豁然没有听清您说了什么,请再说一遍')
|
_this.$toast('没有听清您说了什么,请再说一遍')
|
||||||
} else {
|
} else {
|
||||||
if (data.length > 0) {
|
if (data.length > 0) {
|
||||||
const prompt = data[0].Text
|
const prompt = data[0].Text
|
||||||
|
|||||||
Reference in New Issue
Block a user