瀏覽代碼

no message

zhejiushizhuce 2 年之前
父節點
當前提交
75035e2ef3
共有 1 個文件被更改,包括 3 次插入 和 2 次删除
  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;
                 }
             }
         }