From e3be7edc5564f1723b87ec82442a3877be894c22 Mon Sep 17 00:00:00 2001
From: liuyg <376836862@qq.com>
Date: Fri, 02 Jul 2021 19:04:32 +0800
Subject: [PATCH] +

---
 pages/map/map.vue |    9 ++++++---
 1 files changed, 6 insertions(+), 3 deletions(-)

diff --git a/pages/map/map.vue b/pages/map/map.vue
index 5680d28..448381e 100644
--- a/pages/map/map.vue
+++ b/pages/map/map.vue
@@ -27,12 +27,15 @@
 					"wd": "28.646341"
 				}]
 				data = JSON.stringify(data);
-			}else{
+			} else {
 				data = options.data;
 			}
-			this.urls = "http://s16s652780.51mypc.cn/xcxMapJQ/xcxmap.html?data=" + data;
+			console.log(options.html)
+			var a = options.html != undefined ? options.html : "xcxMapJQ/xcxmap.html";
+			console.log(a)
+			this.urls = "http://s16s652780.51mypc.cn/" + a + "?data=" + data;
 			// this.dataList = data;
-			console.log(this.urls);
+			// console.log(this.urls);
 		},
 	}
 </script>

--
Gitblit v1.9.3