mirror of
https://github.com/ElemeFE/element.git
synced 2025-12-16 11:44:01 +08:00
InputNumber: fix style when controls-position is right (#13052)
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user