diff --git a/.hbuilderx/launch.json b/.hbuilderx/launch.json index 4ccd172..9b0d791 100644 --- a/.hbuilderx/launch.json +++ b/.hbuilderx/launch.json @@ -13,7 +13,7 @@ "type" : "uniCloud" }, { - "playground" : "custom", + "playground" : "standard", "type" : "uni-app:app-android" } ] diff --git a/pages/workPlan/custody/index.vue b/pages/workPlan/custody/index.vue index cddf1d5..332d955 100644 --- a/pages/workPlan/custody/index.vue +++ b/pages/workPlan/custody/index.vue @@ -486,9 +486,10 @@ export default { this.submitParams.address = res.data.result.formatted_address } }) + // console.log(longitude.toString().slice(0, 7), '-----') - this.submitParams.lon = longitude.length > 7 ? longitude.slice(0, 7) : longitude - this.submitParams.lat = latitude.length > 6 ? longitude.slice(0, 6) : latitude + this.submitParams.lon = longitude.length > 7 ? longitude.toString().slice(0, 7) : longitude + this.submitParams.lat = latitude.length > 6 ? longitude.toString().slice(0, 6) : latitude // console.log(province, 'province') // this.submitParams.address = `${province}${city}${district}${street}${streetNum}${poiName}` },