refactor: ele 默认按钮样式和 antd 的保持一致
parent
2baf398c7f
commit
bf44d97e0b
|
@ -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 }) => {
|
||||
|
|
|
@ -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({
|
||||
|
|
Loading…
Reference in New Issue