Merge branch 'dev-3.1' of https://git.mesalab.cn/nezha/nezha-fronted into dev-3.2

This commit is contained in:
zhangyu
2021-12-06 17:33:38 +08:00
20 changed files with 60 additions and 59 deletions

View File

@@ -1424,7 +1424,7 @@ export default {
const limit = geo[0].scaleLimit
const value = zoom + val
if (value <= limit.max && value >= limit.min) {
this.$refs.dataCenterMap.setOption({ geo: { zoom: value } })
this.$refs.dataCenterMap && this.$refs.dataCenterMap.setOption({ geo: { zoom: value } })
}
}
},