Fix(AI):[#3663]输入框中语音输入,未识别到有效语音时,增加提示“没有听清您说了什么,请再说一遍”
This commit is contained in:
@@ -252,6 +252,7 @@ export default {
|
|||||||
fail: err => {
|
fail: err => {
|
||||||
console.log(err)
|
console.log(err)
|
||||||
uni.hideLoading()
|
uni.hideLoading()
|
||||||
|
_this.$toast('没有听清您说了什么,请再说一遍')
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
} else {
|
} else {
|
||||||
@@ -270,8 +271,8 @@ export default {
|
|||||||
_this.taskId = taskRes.data
|
_this.taskId = taskRes.data
|
||||||
_this.getTransResultReq()
|
_this.getTransResultReq()
|
||||||
}).catch(() => {
|
}).catch(() => {
|
||||||
_this.$toast('没有听清您说了什么,请再说一遍')
|
|
||||||
uni.hideLoading()
|
uni.hideLoading()
|
||||||
|
_this.$toast('没有听清您说了什么,请再说一遍')
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
getTransResultReq() {
|
getTransResultReq() {
|
||||||
@@ -297,6 +298,7 @@ export default {
|
|||||||
}
|
}
|
||||||
}).catch(() => {
|
}).catch(() => {
|
||||||
uni.hideLoading()
|
uni.hideLoading()
|
||||||
|
_this.$toast('没有听清您说了什么,请再说一遍')
|
||||||
})
|
})
|
||||||
}, 1000)
|
}, 1000)
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user