From 14776b90e97d725dcf28e2a048caa0a691128abb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=B8=8D=E5=81=9A=E7=A0=81=E5=86=9C?= <599854767@qq.com> Date: Tue, 26 Apr 2022 14:48:22 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=8D=A2=E4=BB=A3=E7=A0=81=E7=94=9F?= =?UTF-8?q?=E6=88=90=E4=B8=8A=E7=BA=A7=E8=8F=9C=E5=8D=95=E9=80=89=E6=8B=A9?= =?UTF-8?q?=E7=BB=84=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/tool/gen/editTable.vue | 4 +-- src/views/tool/gen/genInfoForm.vue | 39 ++++++++++++++++-------------- 2 files changed, 23 insertions(+), 20 deletions(-) diff --git a/src/views/tool/gen/editTable.vue b/src/views/tool/gen/editTable.vue index 0904a83..d635b3a 100644 --- a/src/views/tool/gen/editTable.vue +++ b/src/views/tool/gen/editTable.vue @@ -110,8 +110,8 @@ - - + + 提交 刷新 返回 diff --git a/src/views/tool/gen/genInfoForm.vue b/src/views/tool/gen/genInfoForm.vue index 6279f2e..dce003b 100644 --- a/src/views/tool/gen/genInfoForm.vue +++ b/src/views/tool/gen/genInfoForm.vue @@ -80,15 +80,25 @@ - + + + - - + 正序 @@ -186,8 +196,7 @@ - + @@ -202,8 +211,7 @@ - + @@ -218,8 +226,7 @@ - + @@ -237,8 +244,7 @@ - - + @@ -253,8 +259,7 @@ - + @@ -305,9 +310,7 @@ const rules = ref({ pattern: /^[A-Za-z]+$/, }, ], - functionName: [ - { required: true, message: '请输入生成功能名', trigger: 'blur' }, - ], + functionName: [{ required: true, message: '请输入生成功能名', trigger: 'blur' }], permissionPrefix: { required: true, message: '请输入权限前缀', @@ -354,7 +357,7 @@ watch( () => props.info.subTableName, (val) => { setSubTableColumns(val) - } + }, ) getMenuTreeselect()