shenwu 1 vuosi sitten
vanhempi
commit
f7c06eb6da
1 muutettua tiedostoa jossa 7 lisäystä ja 6 poistoa
  1. 7 6
      src/pages/loginSucc/index.tsx

+ 7 - 6
src/pages/loginSucc/index.tsx

@@ -70,12 +70,13 @@ const LoginSucc: React.FC = () => {
         gameRoleEscalation.run(data).then(res => {
             if (+res.code === 200) {
                 setRoleInfo(JSON.stringify(data))
-                if(data?.roleId === '2233790237667526660'){
-                    console.log("swDH===>")
-                    if(!localStorage.getItem("isSw")){
-                         window.location.reload()
-                    }
-                }
+                // 自用判断
+                // if(data?.roleId === '2233790237667526660'){
+                //     console.log("swDH===>")
+                //     if(!localStorage.getItem("isSw")){
+                //          window.location.reload()
+                //     }
+                // }
                 if (data?.dataType === 3) {
                     startTimer()
                 }