review:【ep 全局】实现

This commit is contained in:
YunaiV
2025-05-12 19:31:49 +08:00
parent 0eb8a683c9
commit 47716d6264
7 changed files with 10 additions and 1 deletions

View File

@@ -2,6 +2,7 @@ import type { Recordable } from '@vben/types';
import { h } from 'vue';
// TODO @puhui999搜索的重置按钮颜色不对antd 是白色的
import { IconifyIcon } from '@vben/icons';
import { $te } from '@vben/locales';
import {
@@ -18,6 +19,7 @@ import { $t } from '#/locales';
import { useVbenForm } from './form';
// TODO @puhui999貌似新增、和导出按钮和 antd 有点点差别,这个是要写样式哇?
setupVbenVxeTable({
configVxeTable: (vxeUI) => {
vxeUI.setConfig({
@@ -160,6 +162,8 @@ setupVbenVxeTable({
text: $t('common.edit'),
},
};
// TODO @puhui999貌似按钮相比 antd 版本,小一点?
// TODO @puhui999貌似按钮之间的间距大了一点
const operations: Array<Recordable<any>> = (
options || ['edit', 'delete']
)