Leon 1 年之前
父节点
当前提交
6aaf1ddd4b
共有 1 个文件被更改,包括 3 次插入1 次删除
  1. 3 1
      src/features/trackTimeDuration/components/IndexConsoleMuti.tsx

+ 3 - 1
src/features/trackTimeDuration/components/IndexConsoleMuti.tsx

@@ -170,7 +170,9 @@ export default function IndexConsoleMuti(props: { status: string, event: string,
             global.scrollToLatest()
             global.refrehWeekly()
             global.refreshStreaks()
-            global.checkAccess((res as any).access)
+            if (props.event == 'end_fast'){
+                global.checkAccess((res as any).access)
+            }
 
             cancel()
         }).catch(e => {