Merge branch 'develop' of http://25.13.9.101:9000/K17_AITS/tra-app into develop
This commit is contained in:
@@ -173,7 +173,7 @@
|
||||
// 最大录音时长
|
||||
maxRecordDuration: {
|
||||
type: Number,
|
||||
default: 60000
|
||||
default: 58000
|
||||
},
|
||||
adjustPosition: {
|
||||
default: false,
|
||||
@@ -283,7 +283,7 @@
|
||||
tempText.value = '';
|
||||
allText.value = '';
|
||||
ossKey.value = '';
|
||||
|
||||
voiceQueue = [];
|
||||
pressTimer = setTimeout(() => {
|
||||
if (!isRecording.value) {
|
||||
console.log('定时器被取消还是进入了');
|
||||
@@ -628,8 +628,11 @@
|
||||
console.log('录音时长定时器已清除');
|
||||
}
|
||||
};
|
||||
clearRecordingTimer();
|
||||
if (!status) return;
|
||||
|
||||
if (!status) {
|
||||
clearRecordingTimer();
|
||||
return;
|
||||
}
|
||||
const maxDuration = props.maxRecordDuration;
|
||||
durationTimer = setTimeout(() => {
|
||||
console.log(`录音达到最大时长 ${maxDuration} 秒,自动关闭`);
|
||||
|
||||
Reference in New Issue
Block a user