Merge pull request #5358 from landluck/hotfix/fix_issue_5347

feat(goods-action): add size props of goods-action-button
This commit is contained in:
landluck 2023-05-04 14:30:46 +08:00 committed by GitHub
commit 9cbc1662a8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 0 deletions

View File

@ -11,6 +11,10 @@ VantComponent({
props: { props: {
text: String, text: String,
color: String, color: String,
size: {
type: String,
value: 'normal',
},
loading: Boolean, loading: Boolean,
disabled: Boolean, disabled: Boolean,
plain: Boolean, plain: Boolean,

View File

@ -3,6 +3,7 @@
id="{{ id }}" id="{{ id }}"
lang="{{ lang }}" lang="{{ lang }}"
type="{{ type }}" type="{{ type }}"
size="{{ size }}"
color="{{ color }}" color="{{ color }}"
plain="{{ plain }}" plain="{{ plain }}"
loading="{{ loading }}" loading="{{ loading }}"