springboot-vue3/src/main/java/com/example/springboot/config/AppRunnerConfig.java
@@ -5,7 +5,8 @@ import org.springframework.core.annotation.Order; import org.springframework.stereotype.Component; import com.example.springboot.component.PlcHold; import com.example.springboot.component.Plcaction; @Component @Order(1) @@ -15,7 +16,8 @@ // TODO Auto-generated method stub // System.out.println("启动完成"); new PlcHold().start(); } new Plcaction().start(); } }