去掉打印信息
This commit is contained in:
parent
512d4311fb
commit
83de47742a
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "dsw-ruler",
|
"name": "dsw-ruler",
|
||||||
"version": "0.1.4",
|
"version": "0.1.5",
|
||||||
"main": "dist/dsw-ruler.umd.min.js",
|
"main": "dist/dsw-ruler.umd.min.js",
|
||||||
"private": false,
|
"private": false,
|
||||||
"jsx": "preserve",
|
"jsx": "preserve",
|
||||||
|
|||||||
@ -41,9 +41,9 @@ export default {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
watch: {
|
watch: {
|
||||||
maxNum(val, oldVal) {
|
maxNum(_val, _oldVal) {
|
||||||
this.resize()
|
this.resize()
|
||||||
console.log("inputVal = " + val + " , oldValue = " + oldVal)
|
// console.log("inputVal = " + val + " , oldValue = " + oldVal)
|
||||||
this.scale = this.windowWidth / (this.maxNum - this.minNum);
|
this.scale = this.windowWidth / (this.maxNum - this.minNum);
|
||||||
this.clearGrid()
|
this.clearGrid()
|
||||||
this.drawGrid()
|
this.drawGrid()
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user