去掉打印信息

This commit is contained in:
ivo 2022-05-23 13:38:39 +08:00
parent 512d4311fb
commit 83de47742a
2 changed files with 3 additions and 3 deletions

View File

@ -1,6 +1,6 @@
{
"name": "dsw-ruler",
"version": "0.1.4",
"version": "0.1.5",
"main": "dist/dsw-ruler.umd.min.js",
"private": false,
"jsx": "preserve",

View File

@ -41,9 +41,9 @@ export default {
}
},
watch: {
maxNum(val, oldVal) {
maxNum(_val, _oldVal) {
this.resize()
console.log("inputVal = " + val + " , oldValue = " + oldVal)
// console.log("inputVal = " + val + " , oldValue = " + oldVal)
this.scale = this.windowWidth / (this.maxNum - this.minNum);
this.clearGrid()
this.drawGrid()