diff --git a/packages/effects/plugins/src/vxe-table/init.ts b/packages/effects/plugins/src/vxe-table/init.ts index bd731e74..4d08f45f 100644 --- a/packages/effects/plugins/src/vxe-table/init.ts +++ b/packages/effects/plugins/src/vxe-table/init.ts @@ -28,6 +28,7 @@ import { VxeSelect, VxeTooltip, VxeUI, + VxeUpload, // VxeSwitch, // VxeTextarea, } from 'vxe-pc-ui'; @@ -92,6 +93,7 @@ export function initVxeTable() { // VxeUI.component(VxeSwitch); // VxeUI.component(VxeTextarea); VxeUI.component(VxeTooltip); + VxeUI.component(VxeUpload); isInit = true; } diff --git a/playground/src/views/examples/vxe-table/remote.vue b/playground/src/views/examples/vxe-table/remote.vue index 87b0661c..7fc98a08 100644 --- a/playground/src/views/examples/vxe-table/remote.vue +++ b/playground/src/views/examples/vxe-table/remote.vue @@ -31,6 +31,7 @@ const gridOptions: VxeGridProps = { { field: 'price', title: 'Price' }, { field: 'releaseDate', formatter: 'formatDateTime', title: 'DateTime' }, ], + exportConfig: {}, height: 'auto', keepSource: true, proxyConfig: { @@ -45,7 +46,7 @@ const gridOptions: VxeGridProps = { }, toolbarConfig: { custom: true, - // export: true, + export: true, // import: true, refresh: true, zoom: true,