refactor: ele 默认按钮样式和 antd 的保持一致

This commit is contained in:
puhui999
2025-05-13 11:00:13 +08:00
parent 2baf398c7f
commit bf44d97e0b
2 changed files with 1 additions and 3 deletions

View File

@@ -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 }) => {