Commit 874866b2 authored by 高晓帆's avatar 高晓帆

fix

parent 8b53f237
This diff is collapsed.
...@@ -647,7 +647,7 @@ watch(deviceId, (value) => { ...@@ -647,7 +647,7 @@ watch(deviceId, (value) => {
}, { deep: true }) }, { deep: true })
function doUnmount() { function doUnmount() {
Object.keys(mapLayers).map(layer => map.removeLayer(mapLayers[layer])) // Object.keys(mapLayers).map(layer => map.removeLayer(mapLayers[layer]))
map.remove() map.remove()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment