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

pull/13054/head
hetech 2018-10-15 15:43:03 +08:00 committed by GitHub
parent efcfbdde0f
commit 9e6cdd788c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -107,7 +107,7 @@
选项可以是离散的
:::demo 改变`step`的值可以改变步长,通过设置`show-step`属性可以显示间断点
:::demo 改变`step`的值可以改变步长,通过设置`show-stops`属性可以显示间断点
```html
<template>
<div class="block">

View File

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