瀏覽代碼

feat: 延迟检测bug修复

TIANYONG 1 年之前
父節點
當前提交
3280342ffd
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/subpages/colexiu/buttons/evaluating.tsx

+ 1 - 1
src/subpages/colexiu/buttons/evaluating.tsx

@@ -503,7 +503,7 @@ const cancelTheEvaluation = () => {
 
 
 const stopPlay = () => {
 const stopPlay = () => {
   console.log('调用stopPlay')
   console.log('调用stopPlay')
-  if (!connentLoading.value) {
+  if (!connentLoading.value && evaluating.value) {
     cancelTheEvaluation()
     cancelTheEvaluation()
   }
   }
   startButtonShow.value = true
   startButtonShow.value = true