diff --git a/teamwork/.hbuilderx/launch.json b/teamwork/.hbuilderx/launch.json index 124dafbf681e5fb33fb14535f69130c025d8b7cc..4313b84b5f4de36928981e26eb2fed0d66dc8822 100644 --- a/teamwork/.hbuilderx/launch.json +++ b/teamwork/.hbuilderx/launch.json @@ -16,7 +16,7 @@ "type" : "uniCloud" }, { - "playground" : "standard", + "playground" : "custom", "type" : "uni-app:app-android" } ] diff --git a/teamwork/pages/sport/start.vue b/teamwork/pages/sport/start.vue index bdd011cf37c2d406bf9769389edcab9d9793d469..7283af2626eeb82f138200c1feab6c93eefde0f5 100644 --- a/teamwork/pages/sport/start.vue +++ b/teamwork/pages/sport/start.vue @@ -138,6 +138,7 @@ that.duration++ uni.getLocation({ type: 'gcj02', + enableHighAccuracy: true, success: function(res) { that1.latitude = res.latitude that1.longitude = res.longitude diff --git a/teamwork/pages/team/main.vue b/teamwork/pages/team/main.vue index a221b01dd00d010b559fcc50b3d8032621b8059f..39e3ae11ea3566f47476c718d42c606757a6b723 100644 --- a/teamwork/pages/team/main.vue +++ b/teamwork/pages/team/main.vue @@ -128,10 +128,10 @@ }) .then(res => { console.log(res), - this.name = res.result.data.username, + this.name = res.result.data.teamname, this.activityList = res.result.data.activityList, this.join = res.result.join, - this.icon = res.result.data.icon + this.icon = res.result.data.teamicon console.log(this.join) }) },