From 10ac7144697815e98fc0b0bd6f8e75d23aa2c904 Mon Sep 17 00:00:00 2001 From: liuxiaohang <283700113@qq.com> Date: Wed, 4 Nov 2020 15:27:09 +0800 Subject: [PATCH] map getMarker add the error about markerId mistake --- src/platforms/h5/view/components/map/index.vue | 1 + 1 file changed, 1 insertion(+) diff --git a/src/platforms/h5/view/components/map/index.vue b/src/platforms/h5/view/components/map/index.vue index cab5a6a7bd..1f2baeea26 100644 --- a/src/platforms/h5/view/components/map/index.vue +++ b/src/platforms/h5/view/components/map/index.vue @@ -921,6 +921,7 @@ export default { return element } } + throw new Error('translateMarker: fail cannot find marker with id ' + id) } } } -- GitLab