zhejiushizhuce 1 yıl önce
ebeveyn
işleme
77c72e5774
1 değiştirilmiş dosya ile 6 ekleme ve 2 silme
  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){