From 9c626ab8e0477c99f4d09e633283247c953007b9 Mon Sep 17 00:00:00 2001 From: handongxun Date: Thu, 24 Mar 2022 16:01:05 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20app-vue=20map=20=E7=BB=84=E4=BB=B6=20pol?= =?UTF-8?q?ygons?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/platforms/app-plus/view/components/map/index.vue | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/platforms/app-plus/view/components/map/index.vue b/src/platforms/app-plus/view/components/map/index.vue index d6de48648..2266c270c 100644 --- a/src/platforms/app-plus/view/components/map/index.vue +++ b/src/platforms/app-plus/view/components/map/index.vue @@ -440,7 +440,7 @@ export default { const nativeMap = this.map const nativeMapPolygons = nativeMap.__polygons__ - polygons.forEach(polygon => { + nativeMapPolygons.forEach(polygon => { nativeMap.removeOverlay(polygon) }) nativeMapPolygons.length = 0 @@ -450,9 +450,7 @@ export default { points, strokeWidth, strokeColor, - fillColor, - zIndex, - level + fillColor } = polygon const plusPoints = [] if (points) { -- GitLab