Procházet zdrojové kódy

地址授权暂时注释

15102826049 před 1 měsícem
rodič
revize
43f648ea2a
1 změnil soubory, kde provedl 8 přidání a 2 odebrání
  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"]) {