From 005b73569681707d8e8d3923cfab846438490324 Mon Sep 17 00:00:00 2001
From: tangzy <tangzy123456>
Date: Thu, 20 Jan 2022 11:12:01 +0800
Subject: [PATCH] 活动

---
 src/views/hd/hd.vue |   12 ++++++++++--
 1 files changed, 10 insertions(+), 2 deletions(-)

diff --git a/src/views/hd/hd.vue b/src/views/hd/hd.vue
index 952550e..aada528 100644
--- a/src/views/hd/hd.vue
+++ b/src/views/hd/hd.vue
@@ -43,8 +43,8 @@
 </template>
 
 <script>
-import { getList, getDetail, add, update, remove } from "@/api/hd/hd";
-import { mapGetters } from "vuex";
+import {getList, getDetail, add, update, remove} from "@/api/hd/hd";
+import {mapGetters} from "vuex";
 // import Map from "@/components/map/main.vue";
 import getMapData from "./getMapData.vue";
 import getMapDataInThere from "./getMapDataInThere.vue";
@@ -236,6 +236,11 @@
         loading();
         return;
       }
+      var d = [];
+      for (var k in row.tpurl) {
+        d.push(row.tpurl[k].value);
+      }
+      row.tpurl = d.join(",");
       row["lxname"] = outMapData[0][0];
       row["lx"] = outMapData[0][1];
       row["addressname"] = outMapData[1][0];
@@ -301,6 +306,7 @@
       //  声明定时器
       let that = this;
       var timer = null;
+
       //  检查dom是否执行完成
       function checkDom() {
         let dom = that.$refs[name];
@@ -322,6 +328,7 @@
           timer = setTimeout(checkDom, 100);
         }
       }
+
       //  首次执行
       checkDom();
     },
@@ -391,6 +398,7 @@
 .mapClass {
   margin-left: 88px;
 }
+
 .mapClass div label {
   display: none;
 }

--
Gitblit v1.9.3