浏览代码

no message

zhejiushizhuce 1 年之前
父节点
当前提交
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){