Commit eeb7a1853922d266ef5e3bd4a9908e5ca57afd74
1 parent
f094bdd4
perf(views/chart/hooks/external): 注释定时请求保存代码
Showing
1 changed file
with
8 additions
and
8 deletions
... | ... | @@ -135,15 +135,15 @@ export const useSyncRemote = () => { |
135 | 135 | |
136 | 136 | // * 定时处理 |
137 | 137 | const intervalDataSyncUpdate = () => { |
138 | - // 定时获取数据 | |
139 | - const syncTiming = setInterval(() => { | |
140 | - dataSyncUpdate() | |
141 | - }, saveInterval * 1000) | |
138 | + // // 定时获取数据 | |
139 | + // const syncTiming = setInterval(() => { | |
140 | + // dataSyncUpdate() | |
141 | + // }, saveInterval * 1000) | |
142 | 142 | |
143 | - // 销毁 | |
144 | - onUnmounted(() => { | |
145 | - clearInterval(syncTiming) | |
146 | - }) | |
143 | + // // 销毁 | |
144 | + // onUnmounted(() => { | |
145 | + // clearInterval(syncTiming) | |
146 | + // }) | |
147 | 147 | } |
148 | 148 | return { |
149 | 149 | dataSyncFetch, | ... | ... |