21 lines
477 B
TypeScript
Executable File
21 lines
477 B
TypeScript
Executable File
/** 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
|
|
}
|