hi il y a 1 mois
Parent
commit
a694fe49b4
2 fichiers modifiés avec 4 ajouts et 4 suppressions
  1. 2 2
      src/pages/my/index.vue
  2. 2 2
      src/pagesOne/winner/index.vue

+ 2 - 2
src/pages/my/index.vue

@@ -50,7 +50,7 @@
         </view>
       </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>
-      </view>
+      </view> -->
     </view>
 
     <user-login-popup

+ 2 - 2
src/pagesOne/winner/index.vue

@@ -225,9 +225,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() {
             console.log("1111111111111111111");