Browse Source

问题修改

sunzehao 4 days ago
parent
commit
ac04e898b4
2 changed files with 26 additions and 68 deletions
  1. 7 3
      src/views/cesium.vue
  2. 19 65
      src/views/weatherComponents/weatherView.vue

+ 7 - 3
src/views/cesium.vue

@@ -292,7 +292,9 @@ export default {
       this.showAllStation(this.viewer, showStation);
     },
     coverOnChange(val) {
-      if (val.name === "风场图") {
+      if(val.name === "回放") {
+        this.showControl = !this.showControl;
+      } else if (val.name === "风场图") {
         this.controlMode = this.controlMode === "wind" ? "" : "wind";
         this.switchWindLayer(val.check);
       } else if (val.name === "云层图") {
@@ -305,8 +307,10 @@ export default {
         this.controlMode = this.controlMode === "temp" ? "" : "temp";
         this.switchTemperatureLayerr(val.check);
       } else {
-        console.log(11111111111111111111111111);
-        this.showControl = !this.showControl;
+        ElMessage({
+          message: '暂无数据',
+          type: 'warning',
+        })
       }
     },
     test() {

File diff suppressed because it is too large
+ 19 - 65
src/views/weatherComponents/weatherView.vue


Some files were not shown because too many files changed in this diff