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,5 @@
<script lang="ts" setup>
import type { VxeTableInstance } from 'vxe-table';
import type { VxeTableInstance } from '#/adapter/vxe-table';
import type { Demo01ContactApi } from '#/api/infra/demo/demo01';
import { h, nextTick, onMounted, reactive, ref } from 'vue';
@@ -22,8 +21,8 @@ import {
RangePicker,
Select,
} from 'ant-design-vue';
import { VxeColumn, VxeTable } from 'vxe-table';
import { VxeColumn, VxeTable } from '#/adapter/vxe-table';
import {
deleteDemo01Contact,
exportDemo01Contact,
@@ -192,7 +191,6 @@ onMounted(async () => {
<!-- 列表 -->
<ContentWrap title="示例联系人">
<!-- TODO @puhui999暗黑模式下会有个黑底 -->
<template #extra>
<TableToolbar
ref="tableToolbarRef"