quanyawei
2024-03-08 7952797c47a0a5149435d448eafd268091732e74
pages/actionChange/secondLevelData/index.vue
@@ -126,7 +126,7 @@
            alarmLevel: null,
            aqi: 0,
            baseUrl: '',
            windDir: 'null',
            windDir: '',
            windDeg: 180,
            wsData2: null,
            // 报警进度条
@@ -150,7 +150,7 @@
      },
      computed: {
         windDirData() {
            if (this.wsData2) {
            if (this.wsData2 && this.windDir) {
               return `${this.windDir} (${this.wsData2.a01008})`
            } else {
               return ''
@@ -166,7 +166,9 @@
      },
      onUnload() {
         let that = this
         this.socketTask.close()
         if (this.socketTask) {
            this.socketTask.close()
         }
         that.isLoading = false
         that.timer = ''
      },