From 7094bb3bbb00297bae2e09b23decce699382befe Mon Sep 17 00:00:00 2001 From: luoyifan Date: Thu, 26 Jun 2025 12:42:24 +0800 Subject: [PATCH] =?UTF-8?q?=E9=A1=B9=E7=9B=AE=E5=90=AF=E5=8A=A8,=20?= =?UTF-8?q?=E6=A0=B9=E6=8D=AE=20=E7=8E=AF=E5=A2=83=E5=92=8C=E6=A5=BC?= =?UTF-8?q?=E5=B1=82=E7=9A=84=20auto=5Fstart=20=E5=88=9D=E5=A7=8B=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- doc/RCS数据库结构.md | 7 ++++--- src/editor/ModelMain.vue | 14 ++++++++++---- 2 files changed, 14 insertions(+), 7 deletions(-) diff --git a/doc/RCS数据库结构.md b/doc/RCS数据库结构.md index 5f45296..9f11e25 100644 --- a/doc/RCS数据库结构.md +++ b/doc/RCS数据库结构.md @@ -84,6 +84,7 @@ create table lcc_env_info env_name varchar(50) not null comment '环境名称', is_virtual boolean not null default false comment '是否虚拟环境', env_payload varchar(3000) not null default 'N/A' comment '环境负载信息', + auto_start boolean not null default false comment '是否自动启动', create_at timestamp not null comment '创建时间', create_by varchar(50) not null comment '创建人', update_at timestamp null comment '更新时间', @@ -92,8 +93,8 @@ create table lcc_env_info ); create index idx_lcc_env_info_1 on lcc_env_info (world_id); -insert into lcc_env_info (env_id, world_id, env_name, is_virtual, env_payload, create_at, create_by, update_at, update_by) -values (1, 'example1', '台湾展会生产', false, 'N/A', now(), 'system', now(), 'system'), - (2, 'example1', '虚拟仿真', true, 'N/A', now(), 'system', now(), 'system'); +insert into lcc_env_info (env_id, world_id, env_name, is_virtual, env_payload, auto_start, create_at, create_by, update_at, update_by) +values (1, 'example1', '台湾展会生产', false, 'N/A', true, now(), 'system', now(), 'system'), + (2, 'example1', '虚拟仿真', true, 'N/A', false, now(), 'system', now(), 'system'); ``` diff --git a/src/editor/ModelMain.vue b/src/editor/ModelMain.vue index e845b7d..6975e40 100644 --- a/src/editor/ModelMain.vue +++ b/src/editor/ModelMain.vue @@ -22,10 +22,10 @@
- - - + v-model="worldModelState.runState.timeRate" + v-if="worldModelState.runState.isVirtual"> +