mirror of
https://gitee.com/wot-design-uni/wot-design-uni.git
synced 2025-12-06 17:18:40 +08:00
fix: 🐛 修复Input、Textarea未设置labelWidth时通过CSS变量设置label宽度无效的问题 (#591)
✅ Closes: #573
This commit is contained in:
parent
dd2d99f02c
commit
2f12ac6d2b
@ -125,7 +125,7 @@ export const inputProps = {
|
||||
/**
|
||||
* 设置左侧标题宽度
|
||||
*/
|
||||
labelWidth: makeStringProp('33%'),
|
||||
labelWidth: makeStringProp(''),
|
||||
/**
|
||||
* 使用 label 插槽
|
||||
*/
|
||||
|
||||
@ -207,17 +207,16 @@ export const textareaProps = {
|
||||
showWordLimit: makeBooleanProp(false),
|
||||
|
||||
/**
|
||||
* * 设置左侧标题。
|
||||
* 设置左侧标题。
|
||||
* 类型:string
|
||||
*/
|
||||
label: String,
|
||||
|
||||
/**
|
||||
* * 设置左侧标题宽度。
|
||||
* 设置左侧标题宽度。
|
||||
* 类型:string
|
||||
* 默认值:'33%'
|
||||
*/
|
||||
labelWidth: makeStringProp('33%'),
|
||||
labelWidth: makeStringProp(''),
|
||||
|
||||
/**
|
||||
* * 是否使用label插槽。
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user