Merge branch 'develop' into 'sit'

fix: bug

See merge request K17_AITS/tra-app!59
This commit is contained in:
田岩
2025-07-22 17:38:26 +08:00
+3 -3
View File
@@ -99,8 +99,6 @@ const recordObjCom = ref({})
const IsAndEnv = getPhoneEnvBool('AND')
const initRecord = () => {
recordObjCom.value = uni.getRecorderManager()
// startRecord()
// stopRecord()
unref(recordObjCom)?.onStop((res, duration)=>{
audioPath.value = res.tempFilePath
if(!isOut.value){
@@ -144,6 +142,7 @@ const startRecord = () => {
}
const stopRecord = () => {
// setTimeout(() => {
try{
if(unref(recordObjCom).stop){
unref(recordObjCom).stop()
@@ -153,12 +152,13 @@ const stopRecord = () => {
}catch{
closeModel()
}
// }, 500)
}
const closeModel = (cb = () => {}) => {
setTimeout(() => {
showTalkingModel.value = false
cb && cb()
},100)
}, 350)
}
// #endif
//#ifndef APP-PLUS