From 5c7f4458041fcde855dc768bfa0f92480256f907 Mon Sep 17 00:00:00 2001 From: BianLzhaoMin <11485688+bianliangzhaomin123@user.noreply.gitee.com> Date: Tue, 12 Nov 2024 13:10:59 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BB=A3=E7=A0=81=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .hbuilderx/launch.json | 2 +- pages/workPlan/custody/index.vue | 5 +++-- 2 files changed, 4 insertions(+), 3 deletions(-) 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}` },