sakura 1 year ago
parent
commit
3709d469f6
1 changed files with 2 additions and 2 deletions
  1. 2 2
      pages/home/detail/detail.vue

+ 2 - 2
pages/home/detail/detail.vue

@@ -253,8 +253,8 @@
 				let _this = this;
 				_this._mapContext = uni.createMapContext("map", _this);
 				_this._mapContext.openMapApp({
-					longitude: parseFloat(31.20393719991159),//_this.eventsInfo.longitude
-					latitude: parseFloat(121.43760859966278),//_this.eventsInfo.latitude
+					longitude: parseFloat(_this.eventsInfo.longitude),//31.20393719991159
+					latitude: parseFloat(_this.eventsInfo.latitude),//121.43760859966278
 					destination: _this.eventsInfo.address,
 					success: (res) => {
 						console.log("success");