diff --git a/packages/element-plus-adapter/src/index.ts b/packages/element-plus-adapter/src/index.ts
index fd5b3362..0075f4a7 100644
--- a/packages/element-plus-adapter/src/index.ts
+++ b/packages/element-plus-adapter/src/index.ts
@@ -111,7 +111,12 @@ const adapter: DesignPluginOptions = {
button: {
component: ElButton as any,
- props: (props: ButtonProps) => props,
+ props: (props: ButtonProps) => {
+ return {
+ ...props,
+ type: props.type === 'default' ? '' : props.type,
+ };
+ },
},
card: {
diff --git a/packages/form/src/FormDialog.vue b/packages/form/src/FormDialog.vue
index d818f111..93f4c546 100644
--- a/packages/form/src/FormDialog.vue
+++ b/packages/form/src/FormDialog.vue
@@ -42,7 +42,7 @@
- 取 消
+ 取 消
上一步
diff --git a/packages/form/src/FormDrawer.vue b/packages/form/src/FormDrawer.vue
index 7e62b1c0..6b2c3039 100644
--- a/packages/form/src/FormDrawer.vue
+++ b/packages/form/src/FormDrawer.vue
@@ -42,7 +42,7 @@
- 关闭
+ 关闭
{{
confirmText
}}
diff --git a/packages/tdesign-vue-next-adapter/src/index.ts b/packages/tdesign-vue-next-adapter/src/index.ts
index 075e2e36..01d8e10c 100644
--- a/packages/tdesign-vue-next-adapter/src/index.ts
+++ b/packages/tdesign-vue-next-adapter/src/index.ts
@@ -180,7 +180,7 @@ const adapter: any = {
button: {
component: TButton,
props: (props: ButtonProps) => ({
- theme: props.type,
+ theme: props.type ? props.type : 'default',
size: props.size === 'default' ? 'medium' : props.size,
icon: props.icon ? () => h(Icon, null, { default: () => h(props.icon) }) : undefined,
variant: props.link || props.text ? 'text' : props.variant || 'base',