uni.chooseLocation({});
使用时在manifest.json配置
"requiredPrivateInfos" : [ "getLocation", "chooseLocation" ]
uni.chooseLocation({
success: (res) => {
console.log("res:",res);
},
fail: (err) => {
console.log("err===",err)
},
complete:(c) => {
console.log("完成完成===",c)
}
})