diff --git a/src/pages/course/components/touchBtn.vue b/src/pages/course/components/touchBtn.vue index 23c140f4..19aea28e 100644 --- a/src/pages/course/components/touchBtn.vue +++ b/src/pages/course/components/touchBtn.vue @@ -342,6 +342,9 @@ // startRecord() isGettingPermission.value = false return true + } else { + isGettingPermission.value = false + return true } } // #endif @@ -391,7 +394,6 @@ startRecord(); // #endif setTimeout(() => { - console.log(_recnum, recNum.value) if (_recnum === recNum.value) { hideOverlayTalking(recNum.value); } @@ -449,7 +451,7 @@ icon: 'none', duration: 1000 }); - } + } }; const changeBtn = () => { if (props.isDisabled) return; diff --git a/src/pages/sparring/components/touchBtn.vue b/src/pages/sparring/components/touchBtn.vue index 3bfbe674..5f51cd64 100644 --- a/src/pages/sparring/components/touchBtn.vue +++ b/src/pages/sparring/components/touchBtn.vue @@ -285,6 +285,9 @@ // startRecord() isGettingPermission.value = false return true + } else { + isGettingPermission.value = false + return true } } // #endif