From dc855fa6efeb273e19ac7a05d5d9f5ad051a31c5 Mon Sep 17 00:00:00 2001 From: ival <610568032@qq.com> Date: Mon, 12 Apr 2021 18:43:20 +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 --- src/iscs_new/map.js | 5 ++--- src/views/iscs_new/components/tableForm.vue | 6 ++++-- src/views/iscs_new/iscsDraw/index.vue | 6 ++++-- 3 files changed, 10 insertions(+), 7 deletions(-) diff --git a/src/iscs_new/map.js b/src/iscs_new/map.js index cc4aa3a2a..11174a8d7 100644 --- a/src/iscs_new/map.js +++ b/src/iscs_new/map.js @@ -187,10 +187,9 @@ class JMap { case orders.Update: oldShape = this.$shapeFactory.removeShape(curShape); newShape = this.$shapeFactory.createShape(updateModel, action.shapeType); - this.$painter.removeFromLayer(oldShape.type, oldShape.instanceHightLight); - this.$painter.removeFromLayer(oldShape.type, newShape.instanceHightLight); - this.$painter.remove(oldShape); this.$shapeFactory.addShape(newShape) + this.$painter.removeFromLayer(oldShape.type, oldShape.instanceHightLight); + this.$painter.remove(oldShape); this.$painter.add(newShape); break; case orders.Unbinding: diff --git a/src/views/iscs_new/components/tableForm.vue b/src/views/iscs_new/components/tableForm.vue index 234042b8c..ce9765272 100644 --- a/src/views/iscs_new/components/tableForm.vue +++ b/src/views/iscs_new/components/tableForm.vue @@ -93,6 +93,8 @@