init: 橘视厅酒店版会员系统前端
This commit is contained in:
20
src/components/table-tree-column/index.data.ts
Executable file
20
src/components/table-tree-column/index.data.ts
Executable file
@@ -0,0 +1,20 @@
|
||||
/** TableTreeColumn 组件 Props */
|
||||
export interface TableTreeColumnProps {
|
||||
/** 列属性名 */
|
||||
prop?: string
|
||||
/** 树节点的 key */
|
||||
treeKey?: string
|
||||
/** 父节点 key */
|
||||
parentKey?: string
|
||||
/** 层级 key */
|
||||
levelKey?: string
|
||||
/** 子节点 key */
|
||||
childKey?: string
|
||||
}
|
||||
|
||||
/** 表格行数据 */
|
||||
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
||||
export interface TableRow extends Record<string, any> {
|
||||
/** 是否展开 */
|
||||
_expanded?: boolean
|
||||
}
|
||||
Reference in New Issue
Block a user