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