mirror of https://github.com/ElemeFE/element
InputNumber: fix style when `controls-position` is right (#13052)
parent
efcfbdde0f
commit
9e6cdd788c
|
@ -107,7 +107,7 @@
|
|||
|
||||
选项可以是离散的
|
||||
|
||||
:::demo 改变`step`的值可以改变步长,通过设置`show-step`属性可以显示间断点
|
||||
:::demo 改变`step`的值可以改变步长,通过设置`show-stops`属性可以显示间断点
|
||||
```html
|
||||
<template>
|
||||
<div class="block">
|
||||
|
|
|
@ -143,7 +143,7 @@
|
|||
}
|
||||
},
|
||||
controlsAtRight() {
|
||||
return this.controlsPosition === 'right';
|
||||
return this.controls && this.controlsPosition === 'right';
|
||||
},
|
||||
_elFormItemSize() {
|
||||
return (this.elFormItem || {}).elFormItemSize;
|
||||
|
|
Loading…
Reference in New Issue