mirror of
https://github.com/ElemeFE/element.git
synced 2025-12-19 12:04:02 +08:00
InputNumber: fix style when controls-position is right (#13052)
This commit is contained in:
@@ -143,7 +143,7 @@
|
||||
}
|
||||
},
|
||||
controlsAtRight() {
|
||||
return this.controlsPosition === 'right';
|
||||
return this.controls && this.controlsPosition === 'right';
|
||||
},
|
||||
_elFormItemSize() {
|
||||
return (this.elFormItem || {}).elFormItemSize;
|
||||
|
||||
Reference in New Issue
Block a user