From 9e93abe53f2cbf9fe44db8e3feab1b0dd807b72d Mon Sep 17 00:00:00 2001
From: tangzy <tangzy123456>
Date: Tue, 22 Feb 2022 14:19:36 +0800
Subject: [PATCH] 活动

---
 src/views/hd/getMapData.vue |   14 ++++++++------
 1 files changed, 8 insertions(+), 6 deletions(-)

diff --git a/src/views/hd/getMapData.vue b/src/views/hd/getMapData.vue
index 79b21c0..59a2430 100644
--- a/src/views/hd/getMapData.vue
+++ b/src/views/hd/getMapData.vue
@@ -191,25 +191,27 @@
         r = val[0][1].split(";"),
         pname = val[1][0].split(";"),
         p = val[1][1].split(";");
+      this.routers = [];
+      this.potions = [];
       for (let k in r) {
-        this.routers[k] = {
+        this.routers.push({
           label: "路径" + (+k + 1),
           value: r[k],
           routerName: rname[k],
           notPath: true,
-        };
+        });
       }
       for (let k in p) {
-        this.potions[k] = {
+        this.potions.push({
           label: "标点" + (+k + 1),
           value: p[k],
           potionName: pname[k],
           notPath: true,
-        };
+        });
       }
       // console.log(this.potions);
       //刷新
-      this.Refresh = !this.Refresh;
+      // this.Refresh = !this.Refresh;
     },
     myRules() {
       for (let i in this.routers) {
@@ -392,7 +394,7 @@
 };
 </script>
 
-<style lang="scss">
+<style lang="scss" scoped>
 .flexCenter {
   display: flex;
   align-items: center;

--
Gitblit v1.9.3