Showing
1 changed file
with
1 additions
and
1 deletions
... | ... | @@ -30,7 +30,7 @@ const ProductionDetail: React.FC = () => { |
30 | 30 | const loopPreView = (index: number, interval: number) => { |
31 | 31 | setFilePathItem(sxPreViewList?.[index]); |
32 | 32 | clearInterval(preViewTimer); |
33 | - // 3秒调一次 | |
33 | + // 接口返回多少秒调一次,默认10秒 | |
34 | 34 | let _preViewTimer = setInterval(() => { |
35 | 35 | index = index + 1; |
36 | 36 | if (index > sxPreViewList?.length - 1) { | ... | ... |