Browse Source

基础form组件 添加明细删除明细按钮参数

master
陈薪名 1 year ago
parent
commit
20a588b643
  1. 6
      src/components/BasicForm/src/BasicForm.vue

6
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,

Loading…
Cancel
Save