Commit 755a92222b4ee60f2907137ab3fe8d94cc0c3a2a
1 parent
6c60d600
perf: index loading effect duration update 1000 ms
Showing
1 changed file
with
6 additions
and
2 deletions
... | ... | @@ -590,7 +590,11 @@ |
590 | 590 | </div> |
591 | 591 | <script> |
592 | 592 | var timeInterval = setInterval(() => { |
593 | - if (!echarts) return | |
593 | + try { | |
594 | + if (!echarts) return | |
595 | + } catch (error) { | |
596 | + | |
597 | + } | |
594 | 598 | clearInterval(timeInterval) |
595 | 599 | timeInterval = null |
596 | 600 | var chartDom |
... | ... | @@ -622,7 +626,7 @@ |
622 | 626 | lineWidth: 1 |
623 | 627 | }, |
624 | 628 | keyframeAnimation: { |
625 | - duration: 3000, | |
629 | + duration: 1000, | |
626 | 630 | loop: true, |
627 | 631 | keyframes: [ |
628 | 632 | { | ... | ... |