This commit is contained in:
yanran200730
2022-10-11 09:22:33 +08:00
parent 0284997d6a
commit 08c8fe0366
3 changed files with 21 additions and 27 deletions

View File

@@ -247,11 +247,6 @@ export default {
})
},
changeZoom(isAdd) {
const zoom = isAdd ? this.map.getZoom() + 1 : this.map.getZoom() - 1
this.map.setZoom(zoom, false, 600)
},
formatName (str) {
if (!str) return ''