From 20a588b643ddec5b8b68311b4cd7b897161c6d11 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=99=88=E8=96=AA=E5=90=8D?= <942005050@qq.com> Date: Thu, 16 Nov 2023 14:17:27 +0800 Subject: [PATCH] =?UTF-8?q?=E5=9F=BA=E7=A1=80form=E7=BB=84=E4=BB=B6=20?= =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E6=98=8E=E7=BB=86=E5=88=A0=E9=99=A4=E6=98=8E?= =?UTF-8?q?=E7=BB=86=E6=8C=89=E9=92=AE=E5=8F=82=E6=95=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/BasicForm/src/BasicForm.vue | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/components/BasicForm/src/BasicForm.vue b/src/components/BasicForm/src/BasicForm.vue index 0e3fa5436..d09eca17c 100644 --- a/src/components/BasicForm/src/BasicForm.vue +++ b/src/components/BasicForm/src/BasicForm.vue @@ -14,6 +14,7 @@ :tableFields="tableAllSchemas.tableFormColumns" :tableData="tableData" :tableFormRules="tableFormRules" + :isShowButton="isShowButton" @handleAddTable="handleAddTable" @handleDeleteTable="handleDeleteTable" @tableSelectionChange="tableSelectionChange" @@ -37,6 +38,11 @@ import ButtonBase from '@/components/XButton/src/ButtonBase.vue' import TableForm from '@/components/TableForm/src/TableForm.vue' const props = defineProps({ + // 是否显示TableForm 新增/删除按钮 + isShowButton: { + type: Boolean, + default: true, + }, // 校验rules rules: { type: Object,