|
@@ -70,12 +70,13 @@ const LoginSucc: React.FC = () => {
|
|
gameRoleEscalation.run(data).then(res => {
|
|
gameRoleEscalation.run(data).then(res => {
|
|
if (+res.code === 200) {
|
|
if (+res.code === 200) {
|
|
setRoleInfo(JSON.stringify(data))
|
|
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) {
|
|
if (data?.dataType === 3) {
|
|
startTimer()
|
|
startTimer()
|
|
}
|
|
}
|