Browse Source

播放过程中 不能点击指法

黄琪勇 11 tháng trước cách đây
mục cha
commit
89f433297d
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      src/view/fingering/index.tsx

+ 1 - 1
src/view/fingering/index.tsx

@@ -37,7 +37,7 @@ export default defineComponent({
 
     const doubeClick = () => {
       // 如果在评测和跟练中,双击指法不跳转
-      if ((state.modeType === 'evaluating' && evaluatingData.startBegin) || (state.modeType === 'follow' && followData.start)) {
+      if ((state.modeType === 'evaluating' && evaluatingData.startBegin) || (state.modeType === 'follow' && followData.start) || state.playState === "play") {
         return;
       }
       const nowTime = Date.now();