|
@@ -49,7 +49,6 @@
|
|
|
this.inputValue = +newVal;
|
|
|
},
|
|
|
inputValue(newVal, oldVal) {
|
|
|
- console.log(newVal,oldVal,this.index,'111')
|
|
|
if (+newVal !== +oldVal && this.max >= +newVal && this.min <= +newVal) {
|
|
|
this.$emit("change", newVal, this.index);
|
|
|
}
|
|
@@ -98,8 +97,7 @@
|
|
|
_onBlur(event) {
|
|
|
let value = event.detail.value;
|
|
|
if (!value) {
|
|
|
- // this.inputValue = 0;
|
|
|
- return;
|
|
|
+ this.inputValue = this.min;
|
|
|
}
|
|
|
value = +value;
|
|
|
if (value > this.max) {
|