@@ -650,6 +650,7 @@ export default {
}
that.printFeature('markLayer', data, type, true, true, true)
that.isShow = true
+ bus.$emit('closeList')
} else {
that.closePopup()
@@ -228,6 +228,19 @@ export default {
this.expandClass -= 1
break
+ },
+
+ /**
+ * @description: eventBus的bus.$on 触发事件汇总
+ */
+ busOnAction: function () {
+ var that = this
+ // 最小化列表
+ bus.$on('closeList', () => {
+ that.resetListener = false
+ that.expandClass = 0
+ })
},
watch: {
@@ -310,7 +323,7 @@ export default {
this.heightListener('mobilebarBox')
this.getReportList()
this.setSize()
- // this.busOnAction()
+ this.busOnAction()
</script>