Browse Source

删除轨迹后,清除临时存储的轨迹

Michael Wang 4 years ago
parent
commit
22781e97ec
1 changed files with 2 additions and 0 deletions
  1. 2 0
      src/features/mark/MarkBody.vue

+ 2 - 0
src/features/mark/MarkBody.vue

@@ -406,6 +406,8 @@ export default defineComponent({
           );
           );
         }
         }
       }
       }
+      // 清除后,删除,否则会影响下次切换
+      store.removeScoreTracks.splice(0);
     });
     });
 
 
     // 轨迹模式下,添加轨迹,更新分数
     // 轨迹模式下,添加轨迹,更新分数