feat(Form): add label-width prop
This commit is contained in:
+2
-1
@@ -109,7 +109,8 @@ export default createComponent({
|
||||
},
|
||||
|
||||
labelStyle() {
|
||||
const { labelWidth } = this;
|
||||
const labelWidth = this.getProp('labelWidth');
|
||||
|
||||
if (labelWidth) {
|
||||
return { width: addUnit(labelWidth) };
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user