fix(input): [input] fix size attr with opposite description (#3064)

* fix(input): fix size attr with opposite description

* fix(input): correct size attribute description for input types
This commit is contained in:
Gweesin Chan 2025-03-12 09:20:38 +08:00 committed by GitHub
parent 09107172f7
commit 2a14ab09cd
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 2 deletions

View File

@ -365,8 +365,8 @@ export default {
type: "'medium' | 'small' | 'mini'",
defaultValue: '',
desc: {
'zh-CN': '输入框尺寸,只在 type 为 "textarea" 时有效',
'en-US': 'Size of the text box. This parameter is valid only when type!="textarea". '
'zh-CN': '输入框尺寸,只在 type 为 "textarea" 时有效',
'en-US': 'Input box size, only valid when type is not "textarea"'
},
mode: ['pc', 'mobile-first'],
pcDemo: 'size',