Bladeren bron

no message

zhejiushizhuce 2 jaren geleden
bovenliggende
commit
75035e2ef3
1 gewijzigde bestanden met toevoegingen van 3 en 2 verwijderingen
  1. 3 2
      src/widgets/WWelfarebar/index.jsx

+ 3 - 2
src/widgets/WWelfarebar/index.jsx

@@ -62,8 +62,9 @@ const WWelfarebar = () => {
         if (openRelief){
             if (protectInfo!=null){
                 if (user.UserID>0){
-                    let CurProtectTimes=protectInfo.CurProtectTimes!=null?parseInt(protectInfo.CurProtectTimes):0;
-                    if (CurProtectTimes>0)state=1;
+                    // let CurProtectTimes=protectInfo.CurProtectTimes!=null?parseInt(protectInfo.CurProtectTimes):0;
+                    // if (CurProtectTimes>0)state=1;
+                    state=1;
                 }
             }
         }