InputNumber: fix style when controls-position is right (#13052)

This commit is contained in:
hetech
2018-10-15 15:43:03 +08:00
committed by GitHub
parent efcfbdde0f
commit 9e6cdd788c
2 changed files with 2 additions and 2 deletions

View File

@@ -143,7 +143,7 @@
}
},
controlsAtRight() {
return this.controlsPosition === 'right';
return this.controls && this.controlsPosition === 'right';
},
_elFormItemSize() {
return (this.elFormItem || {}).elFormItemSize;