Skip to content

FsCrud

fs-crud

Props

Prop nameDescriptionTypeValuesDefault
table表格配置,见 FsTableobject-{}
data表格数据array-
rowHandle操作列配置,见 FsRowHandleobject-{}
search查询框配置,见 FsSearchobject-{}
toolbar工具条配置,见 FsToolbarobject-{}
actionbar动作条配置,见 FsActionbarobject-{}
tabstabs filterobject-{}
addForm添加表单对话框配置,见 FsFormWrapperobject-{}
editForm编辑表单对话框配置,见 FsFormWrapperobject-{}
viewForm查看表单对话框配置,见 FsFormWrapperobject-{}
pagination翻页配置,支持 el-pagination|a-pagination 配置object-{}
container容器配置,见 FsContainerobject-{}
customClasscrud 包裹容器的 class--
form不要传到 fs-table 去object-{}
selection可选择RowSelectionProps-function() {
return { show: false };
}

Events

Event namePropertiesDescription
form-value-change
update:search
update:compact
update:columns
update:modelValue
tab-change

Slots

NameDescriptionBindings
default
header-top
header-bottom
header-middle
actionbar-left
actionbar-right
toolbar-left
toolbar-right
pagination-left
pagination-right
footer-top
footer-bottom