From fcd3fa93337a1df8e33111bba5dc2c19f63b4d1b Mon Sep 17 00:00:00 2001 From: From-wh Date: Thu, 13 Apr 2023 17:59:54 +0800 Subject: [PATCH] =?UTF-8?q?improve:=20=E4=BC=98=E5=8C=96=E6=95=B0=E6=8D=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../codeGeneration/components/FoundationFor.vue | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) diff --git a/template/admin/src/pages/system/codeGeneration/components/FoundationFor.vue b/template/admin/src/pages/system/codeGeneration/components/FoundationFor.vue index b379862c5..4cbdd2c91 100644 --- a/template/admin/src/pages/system/codeGeneration/components/FoundationFor.vue +++ b/template/admin/src/pages/system/codeGeneration/components/FoundationFor.vue @@ -24,7 +24,7 @@ - +
用于生成CRUD指定的表名,不需要携带表前缀;对于生成过的表将不能在进行生成;或者可以删除对应的文件重新生成!对应系统中重要的数据表将不允许生成!
@@ -169,12 +169,6 @@ export default { slot: 'comment', minWidth: 100, }, - { - title: '必填', - slot: 'required', - width: 70, - align: 'center', - }, { title: '列表', slot: 'is_table', @@ -192,6 +186,12 @@ export default { slot: 'from_type', minWidth: 100, }, + { + title: '必填', + slot: 'required', + width: 70, + align: 'center', + }, ], fromTypeList: [ { @@ -228,6 +228,9 @@ export default { }, mounted() {}, methods: { + initfield() { + this.tableField = []; + }, changeItemField(e, i) { console.log(e, i); if (e === 'addSoftDelete') {