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({