admin-vben/packages/effects/plugins/src/vxe-table
xingyu4j fb2595ef90 Merge branch 'main' of https://github.com/vbenjs/vue-vben-admin 2026-05-23 18:39:12 +08:00
..
README.md chore: fix lint && typecheck 2026-03-25 16:33:41 +08:00
api.ts fix: fix lint && typecheck 2026-05-18 16:50:14 +08:00
extends.ts refactor:修复 antd typecheck 提供的报错 2025-04-23 12:56:35 +08:00
index.ts Merge branch 'main' of https://github.com/vbenjs/vue-vben-admin 2026-04-13 16:45:32 +08:00
init.ts Merge branch 'main' of https://github.com/vbenjs/vue-vben-admin 2026-04-13 16:45:32 +08:00
style.css Merge branch 'main' of https://github.com/vbenjs/vue-vben-admin 2026-05-23 18:39:12 +08:00
table-toolbar.vue feat: table-toolbar 2025-09-09 17:04:57 +08:00
types.ts fix: fix lint && typecheck 2026-05-18 16:50:14 +08:00
use-viewed-row.ts fix: fix lint && typecheck 2026-05-18 16:50:14 +08:00
use-vxe-grid.ts fix: 补全 ComponentPropsMap 与 Vxe 表格表单链路的类型 2026-04-13 17:52:15 +08:00
use-vxe-grid.vue fix: fix lint && typecheck 2026-05-18 16:50:14 +08:00
use-vxe-toolbar.ts feat: table-toolbar 2025-09-09 17:04:57 +08:00
validation.ts feat(@vben/web-antd): vxe-table)新增表单验证功能 2025-08-04 09:22:51 +08:00

README.md

VXE Table Plugin

基于 vxe-table 和 vxe-pc-ui 的表格组件插件。

导出

导出 类型 说明
setupVbenVxeTable 函数 初始化配置函数
useVbenVxeGrid 函数 表格组合式函数
VbenVxeGrid 组件 表格组件
VxeTableGridColumns 类型 表格列类型
VxeTableGridOptions 类型 表格配置类型
VxeGridProps 类型 表格 Props
VxeGridListeners 类型 表格事件类型

使用

import {
  setupVbenVxeTable,
  useVbenVxeGrid,
  VbenVxeGrid,
} from '@vben/plugins/vxe-table';

初始化

在应用入口处调用:

import { setupVbenVxeTable } from '@vben/plugins/vxe-table';
import { useVbenForm } from '@vben-core/form-ui';

setupVbenVxeTable({
  configVxeTable: (vxeUI) => {
    // 配置 VXE Table
  },
  useVbenForm,
});

类型

import type {
  VxeTableGridOptions,
  VxeGridProps,
} from '@vben/plugins/vxe-table';