Przeglądaj źródła

[UPDATE] fix bug in *historicTaskScreen

11868 1 rok temu
rodzic
commit
4220a35fe8
1 zmienionych plików z 7 dodań i 9 usunięć
  1. 7 9
      src/views/historicTaskScreen.vue

+ 7 - 9
src/views/historicTaskScreen.vue

@@ -888,6 +888,13 @@ export default {
     }
   },
   methods:{
+    showMoreInfo(type){
+      if(type=='more'){
+        this.$router.push('/historicTaskScreen')
+      }else {
+        this.$router.push('/situationScreen')
+      }
+    },
     //计算缩放比例
     resize_window() {
       // this.screenWidth = document.body.clientWidth;
@@ -3102,15 +3109,6 @@ export default {
       }
       return isFull;
     },
-    showMoreInfo(type){
-      if(type=='more'){
-        this.$router.push('/historicTaskScreen')
-      }else {
-        this.$router.push('/situationScreen')
-      }
-
-    },
-
     // 初始化视频
     initVideo(nowPlayVideoUrl,id) {
       let that =this