From 8706de5ef4b57232fee59ec243f01e5d480605ac Mon Sep 17 00:00:00 2001 From: 1638245306 <1638245306@qq.com> Date: Fri, 14 Mar 2025 16:42:04 +0800 Subject: [PATCH] =?UTF-8?q?feat(system):=20=E4=BC=98=E5=8C=96=E9=85=8D?= =?UTF-8?q?=E7=BD=AE=E7=BB=84=E4=BB=B6=E7=9A=84=E6=A0=B7=E5=BC=8F=E5=92=8C?= =?UTF-8?q?=E5=8A=9F=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 调整表单布局,设置宽度为 500px,栏数为 24 - 在标题、键名和键值字段的表单中添加占位符 --- .../config/components/components/crudTable.vue | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/web/src/views/system/config/components/components/crudTable.vue b/web/src/views/system/config/components/components/crudTable.vue index bf8925f..016f40f 100644 --- a/web/src/views/system/config/components/components/crudTable.vue +++ b/web/src/views/system/config/components/components/crudTable.vue @@ -28,6 +28,14 @@ const createCrudOptions = function ({ crudExpose, context }: CreateCrudOptionsPr mode: "row", activeDefault:true }, + form:{ + wrapper:{ + width:"500px" + }, + col:{ + span:24 + } + }, toolbar:{ show:false }, @@ -42,6 +50,9 @@ const createCrudOptions = function ({ crudExpose, context }: CreateCrudOptionsPr title: { title: "标题", form:{ + component:{ + placeholder:"请输入标题" + }, rules:[{ required: true, message: '必须填写', @@ -51,6 +62,9 @@ const createCrudOptions = function ({ crudExpose, context }: CreateCrudOptionsPr key: { title: "键名", form:{ + component:{ + placeholder:"请输入键名" + }, rules:[{ required: true, message: '必须填写', @@ -60,6 +74,9 @@ const createCrudOptions = function ({ crudExpose, context }: CreateCrudOptionsPr value: { title: "键值", form:{ + component:{ + placeholder:"请输入键值" + }, rules:[{ required: true, message: '必须填写',