Skip to content

Commit

Permalink
chore: add vxe-table export example (#4769)
Browse files Browse the repository at this point in the history
  • Loading branch information
gee1k authored Oct 30, 2024
1 parent e600d78 commit c2d59de
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 2 additions & 0 deletions packages/effects/plugins/src/vxe-table/init.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ import {
VxeSelect,
VxeTooltip,
VxeUI,
VxeUpload,
// VxeSwitch,
// VxeTextarea,
} from 'vxe-pc-ui';
Expand Down Expand Up @@ -92,6 +93,7 @@ export function initVxeTable() {
// VxeUI.component(VxeSwitch);
// VxeUI.component(VxeTextarea);
VxeUI.component(VxeTooltip);
VxeUI.component(VxeUpload);

isInit = true;
}
Expand Down
3 changes: 2 additions & 1 deletion playground/src/views/examples/vxe-table/remote.vue
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ const gridOptions: VxeGridProps<RowType> = {
{ field: 'price', title: 'Price' },
{ field: 'releaseDate', formatter: 'formatDateTime', title: 'DateTime' },
],
exportConfig: {},
height: 'auto',
keepSource: true,
proxyConfig: {
Expand All @@ -45,7 +46,7 @@ const gridOptions: VxeGridProps<RowType> = {
},
toolbarConfig: {
custom: true,
// export: true,
export: true,
// import: true,
refresh: true,
zoom: true,
Expand Down

0 comments on commit c2d59de

Please sign in to comment.