fetch(add): 账户管理
This commit is contained in:
@@ -21,6 +21,8 @@
|
||||
:size="tableSizeComputed"
|
||||
:stripe="stripeComputed"
|
||||
:border="borderComputed"
|
||||
:tree-props="treeProps"
|
||||
:default-expand-all="defaultExpandAll"
|
||||
:header-cell-style="{
|
||||
backgroundColor: showHeaderBackground ? 'var(--el-fill-color-lighter)' : '',
|
||||
fontWeight: '500'
|
||||
@@ -123,6 +125,10 @@
|
||||
marginTop?: number
|
||||
/** 表格大小 */
|
||||
size?: 'small' | 'default' | 'large'
|
||||
/** 树形表格配置 */
|
||||
treeProps?: { children?: string; hasChildren?: string }
|
||||
/** 是否默认展开所有行 */
|
||||
defaultExpandAll?: boolean
|
||||
}
|
||||
|
||||
const props = withDefaults(defineProps<TableProps>(), {
|
||||
@@ -146,7 +152,9 @@
|
||||
paginationSize: 'default',
|
||||
paginationLayout: '',
|
||||
showHeaderBackground: null,
|
||||
marginTop: 20
|
||||
marginTop: 20,
|
||||
treeProps: undefined,
|
||||
defaultExpandAll: false
|
||||
})
|
||||
|
||||
/*
|
||||
|
||||
Reference in New Issue
Block a user