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

Commit

Permalink
Merge pull request #142 from cMing1997/fix-lint
Browse files Browse the repository at this point in the history
fix: 修复表单组件无法修改内置的重置以及提交按钮文本的问题
  • Loading branch information
wangjue666 authored Dec 27, 2023
2 parents c360238 + 1074829 commit 2bb5891
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 2bb5891

Please sign in to comment.