|
@@ -45,7 +45,7 @@
|
|
},
|
|
},
|
|
inputValue(newVal, oldVal) {
|
|
inputValue(newVal, oldVal) {
|
|
if (+newVal !== +oldVal) {
|
|
if (+newVal !== +oldVal) {
|
|
- this.$emit("change", newVal);
|
|
|
|
|
|
+ // this.$emit("change", newVal);
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
},
|
|
@@ -80,6 +80,7 @@
|
|
|
|
|
|
this.inputValue = String(value / scale);
|
|
this.inputValue = String(value / scale);
|
|
this.$emit('input',this.inputValue)
|
|
this.$emit('input',this.inputValue)
|
|
|
|
+ this.$emit("change", this.inputValue);
|
|
},
|
|
},
|
|
_getDecimalScale() {
|
|
_getDecimalScale() {
|
|
let scale = 1;
|
|
let scale = 1;
|
|
@@ -103,6 +104,7 @@
|
|
}
|
|
}
|
|
this.inputValue = value;
|
|
this.inputValue = value;
|
|
this.$emit('input',this.inputValue)
|
|
this.$emit('input',this.inputValue)
|
|
|
|
+ this.$emit("change", this.inputValue);
|
|
}
|
|
}
|
|
}
|
|
}
|
|
};
|
|
};
|