|
|
@@ -58,7 +58,7 @@ public class HomeMainFragment extends BaseFragment { |
|
|
|
} |
|
|
|
|
|
|
|
private boolean isManagerUser(){ |
|
|
|
if(ConfigName.getInstance().user.userID.equals("研发用户")){ |
|
|
|
if(!ConfigName.getInstance().user.userID.equals("一般用户")){ |
|
|
|
return true; |
|
|
|
} |
|
|
|
NewToastUtil.getInstance().showToast("对不起,当前账号暂无权限"); |
|
|
@@ -68,6 +68,9 @@ public class HomeMainFragment extends BaseFragment { |
|
|
|
* 初始化 |
|
|
|
*/ |
|
|
|
private void initView() { |
|
|
|
if(!ConfigName.getInstance().user.userID.equals("一般用户")){ |
|
|
|
binding.systemSet.setVisibility(View.GONE); |
|
|
|
} |
|
|
|
binding.systemSet.setOnClickListener(v->{ |
|
|
|
if(ConfigName.getInstance().isFastClick()){ |
|
|
|
return; |
|
|
|