From a9c7d8787241a4d217a47bcb00381316d8edaea4 Mon Sep 17 00:00:00 2001 From: xingyu Date: Sat, 14 Jan 2023 00:00:34 +0800 Subject: [PATCH] =?UTF-8?q?perf:=20=E8=B0=83=E6=95=B4=E4=BB=A3=E7=A0=81?= =?UTF-8?q?=E7=94=9F=E6=88=90=E5=99=A8=E5=9F=BA=E7=A1=80=E4=BF=A1=E6=81=AF?= =?UTF-8?q?=E9=A1=BA=E5=BA=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../codegen/components/BasicInfoForm.vue | 50 +++++++++---------- 1 file changed, 25 insertions(+), 25 deletions(-) diff --git a/yudao-ui-admin-vue3/src/views/infra/codegen/components/BasicInfoForm.vue b/yudao-ui-admin-vue3/src/views/infra/codegen/components/BasicInfoForm.vue index 2384a850c..865f57ec3 100644 --- a/yudao-ui-admin-vue3/src/views/infra/codegen/components/BasicInfoForm.vue +++ b/yudao-ui-admin-vue3/src/views/infra/codegen/components/BasicInfoForm.vue @@ -40,6 +40,21 @@ const rules = reactive({ classComment: [required] }) const schema = reactive([ + { + label: '上级菜单', + field: 'parentMenuId', + component: 'TreeSelect', + componentProps: { + data: menuOptions, + props: defaultProps, + checkStrictly: true, + nodeKey: 'id' + }, + labelMessage: '分配到指定菜单下,例如 系统管理', + colProps: { + span: 24 + } + }, { label: '表名称', field: 'tableName', @@ -64,6 +79,15 @@ const schema = reactive([ span: 12 } }, + { + label: '类名称', + field: 'className', + component: 'Input', + labelMessage: '类名称(首字母大写),例如SysUser、SysMenu、SysDictData 等等', + colProps: { + span: 12 + } + }, { label: '生成模板', field: 'templateType', @@ -104,15 +128,6 @@ const schema = reactive([ span: 12 } }, - { - label: '类名称', - field: 'className', - component: 'Input', - labelMessage: '类名称(首字母大写),例如SysUser、SysMenu、SysDictData 等等', - colProps: { - span: 12 - } - }, { label: '类描述', field: 'classComment', @@ -122,21 +137,6 @@ const schema = reactive([ span: 12 } }, - { - label: '上级菜单', - field: 'parentMenuId', - component: 'TreeSelect', - componentProps: { - data: menuOptions, - props: defaultProps, - checkStrictly: true, - nodeKey: 'id' - }, - labelMessage: '分配到指定菜单下,例如 系统管理', - colProps: { - span: 12 - } - }, { label: '作者', field: 'author', @@ -154,7 +154,7 @@ const schema = reactive([ rows: 4 }, colProps: { - span: 12 + span: 24 } } ])