瀏覽代碼

问题修改

sunzehao 5 天之前
父節點
當前提交
ac04e898b4
共有 2 個文件被更改,包括 26 次插入68 次删除
  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);
       this.showAllStation(this.viewer, showStation);
     },
     },
     coverOnChange(val) {
     coverOnChange(val) {
-      if (val.name === "风场图") {
+      if(val.name === "回放") {
+        this.showControl = !this.showControl;
+      } else if (val.name === "风场图") {
         this.controlMode = this.controlMode === "wind" ? "" : "wind";
         this.controlMode = this.controlMode === "wind" ? "" : "wind";
         this.switchWindLayer(val.check);
         this.switchWindLayer(val.check);
       } else if (val.name === "云层图") {
       } else if (val.name === "云层图") {
@@ -305,8 +307,10 @@ export default {
         this.controlMode = this.controlMode === "temp" ? "" : "temp";
         this.controlMode = this.controlMode === "temp" ? "" : "temp";
         this.switchTemperatureLayerr(val.check);
         this.switchTemperatureLayerr(val.check);
       } else {
       } else {
-        console.log(11111111111111111111111111);
-        this.showControl = !this.showControl;
+        ElMessage({
+          message: '暂无数据',
+          type: 'warning',
+        })
       }
       }
     },
     },
     test() {
     test() {

文件差異過大導致無法顯示
+ 19 - 65
src/views/weatherComponents/weatherView.vue


部分文件因文件數量過多而無法顯示