|
|
@@ -60,7 +60,7 @@ export default {
|
|
|
windLayer: null, // 风场图
|
|
|
windLayerTimmer: null, // 风场图计时器
|
|
|
cloudLayer: null, // 卫星云图
|
|
|
- rainLayer: null //
|
|
|
+ rainLayer: null, //
|
|
|
};
|
|
|
},
|
|
|
|
|
|
@@ -70,9 +70,9 @@ export default {
|
|
|
|
|
|
unmounted() {
|
|
|
if (this.windLayer !== null) {
|
|
|
- clearInterval(this.windLayerTimmer);
|
|
|
- this.windLayer.removeLines();
|
|
|
- this.windLayer = null;
|
|
|
+ clearInterval(this.windLayerTimmer);
|
|
|
+ this.windLayer.removeLines();
|
|
|
+ this.windLayer = null;
|
|
|
}
|
|
|
},
|
|
|
|
|
|
@@ -333,10 +333,10 @@ export default {
|
|
|
},
|
|
|
|
|
|
switchRainLayer() {
|
|
|
- this.$router.push({
|
|
|
- path: '/satellitecloudchart'
|
|
|
- })
|
|
|
- }
|
|
|
+ this.$router.push({
|
|
|
+ path: "/satellitecloudchart",
|
|
|
+ });
|
|
|
+ },
|
|
|
},
|
|
|
};
|
|
|
</script>
|