diff --git a/pages/API/choose-location/choose-location.uvue b/pages/API/choose-location/choose-location.uvue index 40dc1afb34f48ab83068fa32a520cfcb47f1e899..53c59ecf2f7b74841a042ceb394d3e478ddde401 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(() => {