Browse Source

地址授权暂时注释

15102826049 1 month ago
parent
commit
43f648ea2a
1 changed files with 8 additions and 2 deletions
  1. 8 2
      src/pagesOne/winner/index.vue

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

@@ -177,12 +177,18 @@ const onBack = () => {
 };
 
 const handledUpload = () => {
-  const location = JSON.parse(uni.getStorageSync("location"));
-  if (!aData.authCheck.includes("2") || location.latitude) {
+  if (!aData.authCheck.includes("2")) {
     showUpload.value = true;
 
     return;
   }
+  // const location = JSON.parse(uni.getStorageSync("location"));
+
+  // if (!aData.authCheck.includes("2") || location.latitude) {
+  //   showUpload.value = true;
+
+  //   return;
+  // }
   uni.getSetting({
     success: (res) => {
       if (!res.authSetting["scope.address"]) {