From 474a6067115a3e1f3e4e2b3196cb3718e652bb28 Mon Sep 17 00:00:00 2001 From: xingyu Date: Wed, 4 Jan 2023 22:01:26 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E6=B7=BB=E5=8A=A0=E6=B3=A8=E9=87=8A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/components/XTable/src/style/light.scss | 2 +- .../src/components/XTable/src/type.ts | 15 +++++++-------- 2 files changed, 8 insertions(+), 9 deletions(-) diff --git a/yudao-ui-admin-vue3/src/components/XTable/src/style/light.scss b/yudao-ui-admin-vue3/src/components/XTable/src/style/light.scss index f2f1309f4..f979155ef 100644 --- a/yudao-ui-admin-vue3/src/components/XTable/src/style/light.scss +++ b/yudao-ui-admin-vue3/src/components/XTable/src/style/light.scss @@ -13,4 +13,4 @@ $vxe-danger-color: #f56c6c !default; $vxe-disabled-color: #bfbfbf !default; $vxe-primary-disabled-color: #c0c4cc !default; -@import 'vxe-table/styles/index.scss'; +@import 'vxe-table/styles/index'; diff --git a/yudao-ui-admin-vue3/src/components/XTable/src/type.ts b/yudao-ui-admin-vue3/src/components/XTable/src/type.ts index 7abf911f7..5214d62e4 100644 --- a/yudao-ui-admin-vue3/src/components/XTable/src/type.ts +++ b/yudao-ui-admin-vue3/src/components/XTable/src/type.ts @@ -7,15 +7,14 @@ export type XTableProps = VxeGridProps & { topActionSlots?: boolean // 是否开启表格内顶部操作栏插槽 treeConfig?: VxeTablePropTypes.TreeConfig // 树形表单配置 isList?: boolean // 是否不带分页的list - getListApi?: Function - getAllListApi?: Function - deleteApi?: Function - exportListApi?: Function + getListApi?: Function // 获取列表接口 + getAllListApi?: Function // 获取全部数据接口 用于 vxe 导出 + deleteApi?: Function // 删除接口 + exportListApi?: Function // 导出接口 exportName?: string // 导出文件夹名称 - params?: any - pagination?: boolean | VxeGridPropTypes.PagerConfig - toolBar?: boolean | VxeGridPropTypes.ToolbarConfig - afterFetch?: Function + params?: any // 其他查询参数 + pagination?: boolean | VxeGridPropTypes.PagerConfig // 分页配置参数 + toolBar?: boolean | VxeGridPropTypes.ToolbarConfig // 右侧工具栏配置参数 } export type XColumns = VxeGridPropTypes.Columns