zy-acs-flow/src/page/components/ImportModal.jsx
@@ -158,7 +158,7 @@ <FileInput source="csv" label="Excel File" label="CSV File" accept={{ 'text/csv': ['.csv'] }} onChange={handleFileChange} > zy-acs-manager/src/main/java/com/zy/acs/manager/core/service/AvoidWaveCalculator.java
@@ -57,9 +57,12 @@ private MapService mapService; @PostConstruct @SuppressWarnings("all") public void execute() { this.singleThreadExecutor = Executors.newSingleThreadExecutor(); this.singleThreadExecutor.execute(() -> { try { Thread.sleep(200); } catch (InterruptedException ignore) {} this.calcDynamicNodeWhenBoot(); @@ -67,9 +70,7 @@ this.calcWaveScope(); try { Thread.sleep(500); } catch (InterruptedException ignore) {} try { Thread.sleep(500); } catch (InterruptedException ignore) {} } });