浏览代码

播放过程中 不能点击指法

黄琪勇 11 月之前
父节点
当前提交
89f433297d
共有 1 个文件被更改,包括 1 次插入1 次删除
  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();