quanyawei
2023-09-19 7c5c458225e1e6ab32bba352c5efd33c6a78f023
src/components/Wind/Map.vue
@@ -479,7 +479,13 @@
  },
  mounted() {
    this.currentHour()
    this.$Bus.$on('alarmTableVisible', (res) => (this.alarmTableVisible = res))
    this.$Bus.$on(
      'alarmTableVisible',
      (res) => (
        (this.alarmTableVisible = res),
        this.alertData(this.PageSize, this.currentPage)
      )
    )
    // 初始化地图容器
    this.initMap()
@@ -496,7 +502,7 @@
    this.getParamsData()
    this.windDir()
    this.newDate()
    this.alertData(this.PageSize, this.currentPage)
    // this.alertData(this.PageSize, this.currentPage)
  },
  beforeDestroy() {
    if (this.timer) {