From 83de47742a04fdbd17d4f99621479dca0356666c Mon Sep 17 00:00:00 2001 From: ivo Date: Mon, 23 May 2022 13:38:39 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8E=BB=E6=8E=89=E6=89=93=E5=8D=B0=E4=BF=A1?= =?UTF-8?q?=E6=81=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- package.json | 2 +- src/components/dsw-ruler/index.vue | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package.json b/package.json index 08c6ea9..0c1a3d0 100644 --- a/package.json +++ b/package.json @@ -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", diff --git a/src/components/dsw-ruler/index.vue b/src/components/dsw-ruler/index.vue index 9d2d2c7..d8ea1c9 100644 --- a/src/components/dsw-ruler/index.vue +++ b/src/components/dsw-ruler/index.vue @@ -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()