fix: 🐛 修复Input、Textarea未设置labelWidth时通过CSS变量设置label宽度无效的问题 (#591)

 Closes: #573
This commit is contained in:
不如摸鱼去 2024-09-10 13:04:58 +08:00 committed by GitHub
parent dd2d99f02c
commit 2f12ac6d2b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 4 additions and 5 deletions

View File

@ -125,7 +125,7 @@ export const inputProps = {
/**
*
*/
labelWidth: makeStringProp('33%'),
labelWidth: makeStringProp(''),
/**
* 使 label
*/

View File

@ -207,17 +207,16 @@ export const textareaProps = {
showWordLimit: makeBooleanProp(false),
/**
* *
*
* string
*/
label: String,
/**
* *
*
* string
* '33%'
*/
labelWidth: makeStringProp('33%'),
labelWidth: makeStringProp(''),
/**
* * 使label插槽