From f42a3e2afc1b68ca473107574c1b35c45fbfcdbe Mon Sep 17 00:00:00 2001 From: zyy <1787816799@qq.com> Date: Fri, 19 Jul 2019 17:53:06 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E4=BB=A3=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- package.json | 4 ++-- src/jmap/transformHandle.js | 2 -- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/package.json b/package.json index e772c36fb..50bc61b8e 100644 --- a/package.json +++ b/package.json @@ -16,7 +16,6 @@ }, "dependencies": { "axios": "0.18.0", - "echarts": "^4.2.1", "element-ui": "2.7.2", "js-cookie": "2.2.0", "js-md5": "^0.7.3", @@ -32,7 +31,8 @@ "vue-router": "3.0.6", "vuedraggable": "^2.20.0", "vuex": "3.1.0", - "xlsx": "^0.14.2" + "xlsx": "^0.14.2", + "zrender": "^4.0.4" }, "devDependencies": { "@babel/core": "7.0.0", diff --git a/src/jmap/transformHandle.js b/src/jmap/transformHandle.js index f5793a187..cfae6f43f 100644 --- a/src/jmap/transformHandle.js +++ b/src/jmap/transformHandle.js @@ -27,8 +27,6 @@ class TransformHandle { this.parentLevel = this.$painter.getParentLevel(); - console.log(this.parentLevel, 1111); - this.rect = { x: 0, y: 0, width: this.$zr.getWidth(), height: this.$zr.getHeight() }; this.transform = createTransform({ scaleRate: 1, offsetX: 0, offsetY: 0 }); }