NEZ-1408 fix:处理页面报错
This commit is contained in:
@@ -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 } })
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user