src/views/h5/signup/BaiduMap.vue
@@ -56,6 +56,15 @@ this.map = null; } }, watch: { center: { handler: function(val) { const newPoint = new BMapGL.Point(val.lng, val.lat); this.map.map.setCenter(newPoint) }, deep: true } }, methods: { loadMap() { loadBaiduMapScript()