springboot-vue3/src/main/java/com/example/springboot/config/AppRunnerConfig.java
@@ -5,7 +5,7 @@ import org.springframework.core.annotation.Order; import org.springframework.stereotype.Component; import com.example.springboot.component.PlcHold; import com.example.springboot.component.Plcaction; @Component @@ -17,9 +17,14 @@ // System.out.println("启动完成"); new PlcHold().start(); new Plcaction().start(); } }