From 082613d446e29e4ec1c16bfaa52345106a498b23 Mon Sep 17 00:00:00 2001
From: guoshilong <123456>
Date: Tue, 08 Nov 2022 09:03:49 +0800
Subject: [PATCH] 农事操作隐藏后四个,地图模式2d改为3d

---
 src/components/mapOncePoint/chousePoint.vue |    7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)

diff --git a/src/components/mapOncePoint/chousePoint.vue b/src/components/mapOncePoint/chousePoint.vue
index 84c0646..7843df1 100644
--- a/src/components/mapOncePoint/chousePoint.vue
+++ b/src/components/mapOncePoint/chousePoint.vue
@@ -39,8 +39,8 @@
           this.chousePointData[1]
         );
         let outdata = [...outInt, this.chousePointData[2]];
-        console.log(this.chousePointData, "gcj02");
-        console.log(outdata, " wgs84");
+        // console.log(this.chousePointData, "gcj02");
+        // console.log(outdata, " wgs84");
         this.$emit("setData", outdata);
         // } else {
         //   this.$message.error("未成功选择地点");
@@ -52,6 +52,9 @@
     },
   },
   methods: {
+    initData(address){
+      this.chousePointData = [address.jd,address.wd,address.addressName]
+    },
     openMaps(data) {
       //转wgs84
       let ints = this.wgs84togcj02(data.jd, data.wd);

--
Gitblit v1.9.3