diff --git a/src/components/BasicForm/src/BasicForm.vue b/src/components/BasicForm/src/BasicForm.vue index a34f2ebe8..6b281649d 100644 --- a/src/components/BasicForm/src/BasicForm.vue +++ b/src/components/BasicForm/src/BasicForm.vue @@ -68,6 +68,7 @@ :tableData="tableData" :tableFormRules="tableFormRules" :isShowButton="isShowButton" + :isShowReduceButton="isShowReduceButton" @handleAddTable="handleAddTable" @handleDeleteTable="handleDeleteTable" @tableSelectionChange="tableSelectionChange" @@ -113,6 +114,11 @@ const props = defineProps({ type: Boolean, default: true }, + // 是否显示tableForm 删除按钮 + isShowReduceButton: { + type: Boolean, + default: true + }, // 校验rules rules: { type: Object, diff --git a/src/components/TableForm/src/TableForm.vue b/src/components/TableForm/src/TableForm.vue index 12d0190d2..7a37be94e 100644 --- a/src/components/TableForm/src/TableForm.vue +++ b/src/components/TableForm/src/TableForm.vue @@ -269,7 +269,7 @@