Commit 474a6067115a3e1f3e4e2b3196cb3718e652bb28

Authored by xingyu
1 parent 050498a5

feat: 添加注释

yudao-ui-admin-vue3/src/components/XTable/src/style/light.scss
... ... @@ -13,4 +13,4 @@ $vxe-danger-color: #f56c6c !default;
13 13 $vxe-disabled-color: #bfbfbf !default;
14 14 $vxe-primary-disabled-color: #c0c4cc !default;
15 15  
16   -@import 'vxe-table/styles/index.scss';
  16 +@import 'vxe-table/styles/index';
... ...
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  
... ...