Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion examples/docs/zh-CN/slider.md
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@

选项可以是离散的

:::demo 改变`step`的值可以改变步长,通过设置`show-step`属性可以显示间断点
:::demo 改变`step`的值可以改变步长,通过设置`show-stops`属性可以显示间断点
```html
<template>
<div class="block">
Expand Down
2 changes: 1 addition & 1 deletion packages/input-number/src/input-number.vue
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@
}
},
controlsAtRight() {
return this.controlsPosition === 'right';
return this.controls && this.controlsPosition === 'right';
},
_elFormItemSize() {
return (this.elFormItem || {}).elFormItemSize;
Expand Down