Skip to content
This repository has been archived by the owner on Sep 30, 2024. It is now read-only.

Commit

Permalink
fix: 修复表单组件无法修改内置的重置以及提交按钮文本的问题
Browse files Browse the repository at this point in the history
  • Loading branch information
chengmingrui committed Dec 26, 2023
1 parent c360238 commit 1074829
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions components/form.md
Original file line number Diff line number Diff line change
Expand Up @@ -347,6 +347,11 @@ export const buttonProps = {
*/
iconSize: { type: Number, default: 14 },
onClick: { type: [Function, Array] as PropType<(() => any) | (() => any)[]>, default: null },

/**
* 如果需要修改默认内置的重置、提交按钮的文本,可以传递这个属性,可选属性
*/
text: { type: String },
};
```

Expand Down

0 comments on commit 1074829

Please sign in to comment.