diff --git a/src/views/oneMap/SmartDrainage/PsLeftBox.vue b/src/views/oneMap/SmartDrainage/PsLeftBox.vue index 9cb3792..916c0b0 100644 --- a/src/views/oneMap/SmartDrainage/PsLeftBox.vue +++ b/src/views/oneMap/SmartDrainage/PsLeftBox.vue @@ -159,7 +159,7 @@ if (partName.value == '风险点') { bus.emit('setLayerVisible', { layername: 'fengXianPoint', isCheck: true }); bus.emit('setLayerVisible', { layername: 'yiLaoPoint', isCheck: false }); - newfiberMapbox_table.map.easeTo({ + newfiberMapbox.map.easeTo({ center: [109.488, 36.596], zoom: 13, }); @@ -189,7 +189,7 @@ } else { bus.emit('setLayerVisible', { layername: 'fengXianPoint', isCheck: false }); bus.emit('setLayerVisible', { layername: 'yiLaoPoint', isCheck: true }); - newfiberMapbox_table.map.easeTo({ + newfiberMapbox.map.easeTo({ center: [109.488, 36.596], zoom: 13, });