瀏覽代碼

feat: 清除跟练信息

TIANYONG 11 月之前
父節點
當前提交
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);
 }
 
 /**