Merge branch 'dev-20250930' of http://25.13.9.101:9000/K17_AITS/tra-app into dev-20250930
This commit is contained in:
@@ -153,7 +153,7 @@ const initRecord = () => {
|
||||
})
|
||||
}
|
||||
const startFlag = ref(1)
|
||||
const canStart = ref(true)
|
||||
// const canStart = ref(true)
|
||||
const startRecord = () => {
|
||||
unref(recordObjCom).start({format:'mp3'})
|
||||
}
|
||||
@@ -168,9 +168,9 @@ const stopRecord = () => {
|
||||
}catch{
|
||||
closeModel()
|
||||
}
|
||||
setTimeout(() => {
|
||||
canStart.value = true
|
||||
}, 1000)
|
||||
// setTimeout(() => {
|
||||
// canStart.value = true
|
||||
// }, 1000)
|
||||
}
|
||||
const closeModel = (cb = () => {}) => {
|
||||
setTimeout(() => {
|
||||
@@ -260,9 +260,9 @@ const showOverlayTalking = (obj) => {
|
||||
})
|
||||
return
|
||||
}
|
||||
if(!canStart.value){
|
||||
return
|
||||
}
|
||||
// if(!canStart.value){
|
||||
// return
|
||||
// }
|
||||
isMoving.value = true
|
||||
emit('startRecord')
|
||||
recNum.value += 1
|
||||
@@ -271,7 +271,7 @@ const showOverlayTalking = (obj) => {
|
||||
touchY.value = obj.changedTouches[0].pageY
|
||||
baseY.value = obj.currentTarget.offsetTop
|
||||
//#ifdef APP-PLUS
|
||||
canStart.value = false
|
||||
// canStart.value = false
|
||||
startRecord()
|
||||
// #endif
|
||||
setTimeout(() => {
|
||||
|
||||
Reference in New Issue
Block a user