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