Browse Source

feat: 清除跟练信息

TIANYONG 11 months ago
parent
commit
9fa4efd853
1 changed files with 3 additions and 1 deletions
  1. 3 1
      src/subpages/colexiu/popups/follow/index.tsx

+ 3 - 1
src/subpages/colexiu/popups/follow/index.tsx

@@ -126,7 +126,9 @@ const handleEnd = () => {
   setStepIndex(state.osmd, 0)
   // state.osmd.cursor.reset()
   getNoteIndex()
-  onClear()
+  setTimeout(() => {
+    onClear()
+  }, 100);
 }
 
 /**