소스 검색

feat: 清除跟练信息

TIANYONG 1 년 전
부모
커밋
9fa4efd853
1개의 변경된 파일3개의 추가작업 그리고 1개의 파일을 삭제
  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);
 }
 
 /**