Commit 9e6cdd78 authored by hetech's avatar hetech Committed by GitHub

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

parent efcfbdde
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment