Commit 474a6067115a3e1f3e4e2b3196cb3718e652bb28
1 parent
050498a5
feat: 添加注释
Showing
2 changed files
with
8 additions
and
9 deletions
yudao-ui-admin-vue3/src/components/XTable/src/style/light.scss
yudao-ui-admin-vue3/src/components/XTable/src/type.ts
| ... | ... | @@ -7,15 +7,14 @@ export type XTableProps<D = any> = VxeGridProps<D> & { |
| 7 | 7 | topActionSlots?: boolean // 是否开启表格内顶部操作栏插槽 |
| 8 | 8 | treeConfig?: VxeTablePropTypes.TreeConfig // 树形表单配置 |
| 9 | 9 | isList?: boolean // 是否不带分页的list |
| 10 | - getListApi?: Function | |
| 11 | - getAllListApi?: Function | |
| 12 | - deleteApi?: Function | |
| 13 | - exportListApi?: Function | |
| 10 | + getListApi?: Function // 获取列表接口 | |
| 11 | + getAllListApi?: Function // 获取全部数据接口 用于 vxe 导出 | |
| 12 | + deleteApi?: Function // 删除接口 | |
| 13 | + exportListApi?: Function // 导出接口 | |
| 14 | 14 | exportName?: string // 导出文件夹名称 |
| 15 | - params?: any | |
| 16 | - pagination?: boolean | VxeGridPropTypes.PagerConfig | |
| 17 | - toolBar?: boolean | VxeGridPropTypes.ToolbarConfig | |
| 18 | - afterFetch?: Function | |
| 15 | + params?: any // 其他查询参数 | |
| 16 | + pagination?: boolean | VxeGridPropTypes.PagerConfig // 分页配置参数 | |
| 17 | + toolBar?: boolean | VxeGridPropTypes.ToolbarConfig // 右侧工具栏配置参数 | |
| 19 | 18 | } |
| 20 | 19 | export type XColumns = VxeGridPropTypes.Columns |
| 21 | 20 | ... | ... |