src/components/map/mapBox.vue @@ -388,6 +388,9 @@ _this.lineVector.getSource().clear() _this.showTip = false _this.tipTitle = null // 传值给父组件 _this.$emit('toData', "") }, // 获取新的 layer 图层对象 getLayer () {