(component): 更新 table 文档

This commit is contained in:
就眠儀式 2022-08-10 21:51:44 +08:00
parent 9ddf369176
commit 2c5c265542
3 changed files with 8 additions and 6 deletions

View File

@ -74,7 +74,7 @@ const props = withDefaults(defineProps<LayTableProps>(), {
expandKeys: () => [],
loading: false,
getCheckboxProps: () => {},
getRadioProps: () => {}
getRadioProps: () => {},
});
const tableId = uuidv4();

View File

@ -1440,6 +1440,8 @@ export default {
| default-expand-all | 默认展开所有列 | `boolean` | `false` | `true` `false` |
| expand-keys | 展开的列 | `array` | `[]` | -- |
| span-method | 合并算法 | `function` | -- | -- |
| getCheckboxProps | 多选行属性 | `function` | -- | -- |
| getRadioProps | 单选行属性 | `function` | -- | -- |
:::