@@ -50,7 +50,7 @@
</view>
- <view class="addressBox">
+ <!-- <view class="addressBox">
<view class="title"> 附近门店 </view>
<view>
<view v-for="(item, index) in list2" :key="index" class="address">
@@ -66,7 +66,7 @@
/>
- </view>
+ </view> -->
<user-login-popup
@@ -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() {
// 用户同意授权
},