|
@@ -229,9 +229,9 @@ const handledUpload = () => {
|
|
|
// }
|
|
|
uni.getSetting({
|
|
|
success: (res) => {
|
|
|
- if (!res.authSetting["scope.address"]) {
|
|
|
+ if (!res.authSetting["scope.userLocation"]) {
|
|
|
uni.authorize({
|
|
|
- scope: "scope.address",
|
|
|
+ scope: "scope.userLocation",
|
|
|
success() {
|
|
|
// 用户同意授权
|
|
|
},
|