* chore: update deps * chore: update archiver v8 * fix: 还原 vue/html-closing-bracket-newline * feat: 增加默认配置和配置注释 * feat: 增加oxlint默认插件配置和注释 * refactor: remove unicorn ESLint configuration and update dependencies - Deleted the unicorn ESLint configuration file from the lint-configs package. - Removed unicorn configuration from the main index file. - Updated oxlint-config to include a comprehensive set of unicorn rules. - Adjusted preferences and vxe-table files to disable specific unicorn rules. - Removed references to eslint-plugin-unicorn from pnpm-lock.yaml and pnpm-workspace.yaml. * refactor: 移除 eslint 的 @typescript-eslint/eslint-plugin 依赖,将 TypeScript 配置迁移到 oxlint * feat: open typeAware * fix: mac 和linux下报错
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';