From bf44d97e0bec796ff458a0f489db6a9b6346197f Mon Sep 17 00:00:00 2001 From: puhui999 Date: Tue, 13 May 2025 11:00:13 +0800 Subject: [PATCH] =?UTF-8?q?refactor:=20ele=20=E9=BB=98=E8=AE=A4=E6=8C=89?= =?UTF-8?q?=E9=92=AE=E6=A0=B7=E5=BC=8F=E5=92=8C=20antd=20=E7=9A=84?= =?UTF-8?q?=E4=BF=9D=E6=8C=81=E4=B8=80=E8=87=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/web-ele/src/adapter/component/index.ts | 2 +- apps/web-ele/src/adapter/vxe-table.ts | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/apps/web-ele/src/adapter/component/index.ts b/apps/web-ele/src/adapter/component/index.ts index ff963e5f..411cf50f 100644 --- a/apps/web-ele/src/adapter/component/index.ts +++ b/apps/web-ele/src/adapter/component/index.ts @@ -241,7 +241,7 @@ async function initComponentAdapter() { }, // 自定义默认按钮 DefaultButton: (props, { attrs, slots }) => { - return h(ElButton, { ...props, attrs, type: 'info' }, slots); + return h(ElButton, { ...props, attrs }, slots); }, // 自定义主要按钮 PrimaryButton: (props, { attrs, slots }) => { diff --git a/apps/web-ele/src/adapter/vxe-table.ts b/apps/web-ele/src/adapter/vxe-table.ts index 63d8ba8d..e0c354be 100644 --- a/apps/web-ele/src/adapter/vxe-table.ts +++ b/apps/web-ele/src/adapter/vxe-table.ts @@ -2,7 +2,6 @@ import type { Recordable } from '@vben/types'; import { h } from 'vue'; -// TODO @puhui999:搜索的重置按钮,颜色不对;antd 是白色的 import { IconifyIcon } from '@vben/icons'; import { $te } from '@vben/locales'; import { @@ -19,7 +18,6 @@ import { $t } from '#/locales'; import { useVbenForm } from './form'; -// TODO @puhui999:貌似新增、和导出按钮,和 antd 有点点差别,这个是要写样式哇? setupVbenVxeTable({ configVxeTable: (vxeUI) => { vxeUI.setConfig({