mirror of https://github.com/ElemeFE/element
commit
c968525da9
|
@ -183,7 +183,7 @@
|
||||||
if (this.maxDisabled) return;
|
if (this.maxDisabled) return;
|
||||||
const value = this.value || 0;
|
const value = this.value || 0;
|
||||||
if (this.accAdd(value, this.step) > this.max || this.disabled) return;
|
if (this.accAdd(value, this.step) > this.max || this.disabled) return;
|
||||||
this.currentValue = this.accAdd(this.step, value);
|
this.currentValue = this.accAdd(value, this.step);
|
||||||
},
|
},
|
||||||
decrease() {
|
decrease() {
|
||||||
if (this.minDisabled) return;
|
if (this.minDisabled) return;
|
||||||
|
|
Loading…
Reference in New Issue