소스 검색

no message

zhejiushizhuce 2 년 전
부모
커밋
77c72e5774
1개의 변경된 파일과 6개의 추가작업 그리고 2개의 파일을 삭제
  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){