From 5741383ca0a6b2ecf84980eb7f44164a56483bc8 Mon Sep 17 00:00:00 2001 From: wuyouming666 <2265557248@qq.com> Date: 星期三, 06 九月 2023 16:52:18 +0800 Subject: [PATCH] 1、增加 vuex 路由标签切换 ,并且保留页面数据 2、PlcParameter.java Plcaction.java 增加读写分开 , 睡眠间隔时间不同 3、增加权限列表中英文json 以及提示框、弹窗等 --- springboot-vue3/src/main/java/com/example/springboot/config/AppRunnerConfig.java | 35 +++++++++++++++++++++++++---------- 1 files changed, 25 insertions(+), 10 deletions(-) diff --git a/springboot-vue3/src/main/java/com/example/springboot/config/AppRunnerConfig.java b/springboot-vue3/src/main/java/com/example/springboot/config/AppRunnerConfig.java index 0973688..a931db3 100644 --- a/springboot-vue3/src/main/java/com/example/springboot/config/AppRunnerConfig.java +++ b/springboot-vue3/src/main/java/com/example/springboot/config/AppRunnerConfig.java @@ -1,21 +1,36 @@ package com.example.springboot.config; +import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.ApplicationArguments; import org.springframework.boot.ApplicationRunner; import org.springframework.core.annotation.Order; import org.springframework.stereotype.Component; import com.example.springboot.component.PlcHold; +import com.example.springboot.component.Plcaction; +import com.example.springboot.component.PlcParameter; @Component @Order(1) -public class AppRunnerConfig implements ApplicationRunner{ - @Override - public void run(ApplicationArguments args) throws Exception { - // TODO Auto-generated method stub - // - System.out.println("鍚姩瀹屾垚"); - - new PlcHold().start(); - } -} + +public class AppRunnerConfig implements ApplicationRunner { + + + @Override + public void run(ApplicationArguments args) throws Exception { + // TODO Auto-generated method stub + // + System.out.println("鍚姩瀹屾垚"); + + new PlcHold().start(); + new Plcaction().start(); + new PlcParameter().start(); + + + + + } + + } + + -- Gitblit v1.8.0