瀏覽代碼

不用定时更新status

Michael Wang 4 年之前
父節點
當前提交
c9eea0b147
共有 1 個文件被更改,包括 4 次插入4 次删除
  1. 4 4
      src/features/mark/Mark.vue

+ 4 - 4
src/features/mark/Mark.vue

@@ -160,10 +160,10 @@ export default defineComponent({
       }
     }, 5 * 1000);
 
-    // TODO: 后续改掉,不需要
-    addInterval(() => {
-      updateStatus();
-    }, 5 * 60 * 1000);
+    // 不需要
+    // addInterval(() => {
+    //   updateStatus();
+    // }, 5 * 60 * 1000);
 
     onMounted(async () => {
       await updateMarkTask();