From ddddfb0f4ea92a2dd376b73474e7498c1d57a91f Mon Sep 17 00:00:00 2001
From: VK <370725567@qq.com>
Date: Wed, 18 Dec 2024 17:00:15 +0800
Subject: [PATCH] =?UTF-8?q?=E5=B1=8F=E8=94=BD=E5=B0=8F=E7=A8=8B=E5=BA=8F?=
=?UTF-8?q?=E7=AB=AFchoose-location=E7=A4=BA=E4=BE=8B=E4=B8=AD=E7=9A=84pay?=
=?UTF-8?q?load=E5=8F=82=E6=95=B0?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
pages/API/choose-location/choose-location.uvue | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/pages/API/choose-location/choose-location.uvue b/pages/API/choose-location/choose-location.uvue
index 40dc1afb..53c59ecf 100644
--- a/pages/API/choose-location/choose-location.uvue
+++ b/pages/API/choose-location/choose-location.uvue
@@ -18,7 +18,9 @@
注意:\n1. Web和App需要正确配置地图服务商的Key并且保证Key的权限和余额足够,才能正常选择位置\n2. 若没有关联uniCloud空间,则只能全屏地图选点,不能根据POI选择位置\n3. payload参数会原样透传给uni-map-co,可用于用户鉴权
+
+
@@ -83,11 +85,13 @@
if (this.hoverKeyword) {
chooseLocationOptions.keyword = '公园'
}
+ // #ifndef MP
if (this.hoverPayload) {
chooseLocationOptions.payload = {
token: 'xxx'
}
}
+ // #endif
uni.chooseLocation(chooseLocationOptions)
// 自动化测试
setTimeout(() => {
--
GitLab