408249787 3 天之前
父节点
当前提交
d85a1f9ed5
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      pages/catalog/detail.uvue

+ 1 - 0
pages/catalog/detail.uvue

@@ -199,6 +199,7 @@ function playVoice(val) {
   innerAudioContext.value.play();
 }
 onUnmounted(() => {
+  clearInterval(timer.value)
   innerAudioContext.value.stop();
 })
 </script>