feat: @vben/plugins/vxe-table 异步导出 vxe-table 相关组件提供给需要单独使用 vxe-table 的场景

This commit is contained in:
puhui999
2025-05-09 13:09:24 +08:00
parent 62570fa745
commit 98676e1dc9
8 changed files with 118 additions and 14 deletions

View File

@@ -1,6 +1,6 @@
<!-- add by puhui999vxe table 工具栏二次封装提供给 vxe 原生列表使用 -->
<script setup lang="ts">
import type { VxeToolbarInstance } from 'vxe-table';
import type { VxeToolbarInstance } from '#/adapter/vxe-table';
import { ref } from 'vue';
@@ -8,7 +8,8 @@ import { useContentMaximize, useRefresh } from '@vben/hooks';
import { Fullscreen, RefreshCw, Search } from '@vben/icons';
import { Button } from 'ant-design-vue';
import { VxeToolbar } from 'vxe-table';
import { VxeToolbar } from '#/adapter/vxe-table';
/** 列表工具栏封装 */
defineOptions({ name: 'TableToolbar' });