From f9e9055a3ff96d7112839a302d7574beab9e5ad0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=96=AF=E7=8B=82=E7=9A=84=E7=8B=AE=E5=AD=90Li?= <15040126243@163.com> Date: Wed, 3 Jun 2026 16:32:53 +0800 Subject: [PATCH] =?UTF-8?q?update=20=E4=BC=98=E5=8C=96=20=E4=BB=A3?= =?UTF-8?q?=E7=A0=81=E7=94=9F=E6=88=90=20=E7=BC=96=E8=BE=91=E9=A1=B5?= =?UTF-8?q?=E6=A0=B7=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/tool/gen/components/GenInfoForm.tsx | 207 ++++++++++-------- 1 file changed, 115 insertions(+), 92 deletions(-) diff --git a/src/pages/tool/gen/components/GenInfoForm.tsx b/src/pages/tool/gen/components/GenInfoForm.tsx index 45469c4f..a174e4db 100644 --- a/src/pages/tool/gen/components/GenInfoForm.tsx +++ b/src/pages/tool/gen/components/GenInfoForm.tsx @@ -47,25 +47,6 @@ export default function GenInfoForm({ form, columns, menuOptions }: GenInfoFormP /> - - - 前端模板{' '} - - - - - } - rules={[ - { required: true, message: '请选择前端模板' }, - { pattern: /^[A-Za-z0-9_-]+$/, message: '仅支持字母、数字、下划线和中划线' } - ]} - > - - - @@ -98,89 +79,131 @@ export default function GenInfoForm({ form, columns, menuOptions }: GenInfoFormP /> + + + 前端模板{' '} + + + + + } + rules={[ + { required: true, message: '请选择前端模板' }, + { pattern: /^[A-Za-z0-9_-]+$/, message: '仅支持字母、数字、下划线和中划线' } + ]} + > + + + +

增强选项

- - - - + + + + + + + + - - - !checked && form.setFieldValue('statusField', '')} /> - + + + + + + !checked && form.setFieldValue('statusField', '')} /> + + + {enableStatus && ( + + + - - - )} - - - !checked && form.setFieldValue('uniqueFields', [])} /> - + + + + + + !checked && form.setFieldValue('uniqueFields', [])} /> + + + {enableUnique && ( + + + - - - )} - - - !checked && form.setFieldValue('sortField', '')} /> - + + + + + + !checked && form.setFieldValue('sortField', '')} /> + + + {enableSort && ( + + + - - - )} {tplCategory === 'tree' && ( - - - - - - - - - - - - - - - - - + <> +

其他信息

+ + + + + + + + + + + + + + + + + + )} );