admin-vben/packages/effects/plugins/src/vxe-table
layhuts 2d36d6b510 style: reformat code 2026-05-09 11:03:47 +08:00
..
README.md chore: fix lint && typecheck 2026-03-25 16:33:41 +08:00
api.ts feat: 表格已读行操作标记 2026-05-08 20:03:05 +08:00
extends.ts perf: format code with better style (#5283) 2025-01-01 11:39:49 +08:00
index.ts feat: table 类型VxeTableGridColumns替代VxeTableGridOptions['columns']魔法值写法 2026-03-23 10:06:35 +08:00
init.ts chore: fix lint && typecheck 2026-03-25 16:33:41 +08:00
style.css feat: 表格已读行操作标记 2026-05-08 20:03:05 +08:00
types.ts style: reformat code 2026-05-09 11:03:47 +08:00
use-viewed-row.ts refactor: 重构ViewedRowPersistOptions处理扁平化问题 2026-05-09 11:02:16 +08:00
use-vxe-grid.ts fix: 补全 ComponentPropsMap 与 Vxe 表格表单链路的类型 2026-04-13 17:52:15 +08:00
use-vxe-grid.vue feat: 表格已读行操作标记 2026-05-08 20:03:05 +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';