zhaoke 1 rok pred
rodič
commit
6c94d5c487
1 zmenil súbory, kde vykonal 4 pridanie a 2 odobranie
  1. 4 2
      src/views/flightPage/index.vue

+ 4 - 2
src/views/flightPage/index.vue

@@ -107,7 +107,8 @@ export default {
       loading: false,
       legTable: [],
       flightTable: [],
-      pageAuthtables: []
+      pageAuthtables: [],
+      checkDatas: []
     }
   },
   computed: {
@@ -208,6 +209,7 @@ export default {
         };
         this.deArrsNum.push(obj);
       });
+      this.checkDatas = checkDatas
       this.checkStates = m
     },
     setCheckInfo (infos) {
@@ -215,7 +217,7 @@ export default {
       const [a1, a2] = [m[0], m[m.length - 1]]
       const { outAirport, landAirport } = this.infoObj
       if (a1 == outAirport && a2 == landAirport) {
-        this.checkList = checkDatas.splice(0, m.length - 1)
+        this.checkList = this.checkDatas.splice(0, m.length - 1)
       } else {
         this.checkList = [`${outAirport}-${landAirport}`]
       }