소스 검색

问题修改

sunzehao 6 일 전
부모
커밋
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);
     },
     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() {

파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 19 - 65
src/views/weatherComponents/weatherView.vue


이 변경점에서 너무 많은 파일들이 변경되어 몇몇 파일들은 표시되지 않았습니다.