zhejiushizhuce 1 anno fa
parent
commit
77c72e5774
1 ha cambiato i file con 6 aggiunte e 2 eliminazioni
  1. 6 2
      src/App.js

+ 6 - 2
src/App.js

@@ -237,8 +237,12 @@ const App = () => {
         // if (delta<86400000){
         //     return false;
         // }
-        global.showFirstPay();
-        localStorageSet(key,Date.now());
+        if (pathname==="/") {
+            if (hash == null || hash === "") {
+                global.showFirstPay();
+                localStorageSet(key,Date.now());
+            }
+        }
     }
     const checkOpenCheckin=()=>{
         if (userID>0){