Browse Source

提交修改

桌面小炒机
liup 6 months ago
parent
commit
baa7b2d7e1
2 changed files with 6 additions and 3 deletions
  1. +4
    -1
      app/src/main/java/com/bonait/bnframework/ui/fragment/HomeMainFragment.java
  2. +2
    -2
      build.gradle

+ 4
- 1
app/src/main/java/com/bonait/bnframework/ui/fragment/HomeMainFragment.java View File

@@ -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;


+ 2
- 2
build.gradle View File

@@ -35,8 +35,8 @@ task clean(type: Delete) {

ext { // 统一版本入口
//App版本号
versionCode = 210
versionName = "2.1.0"
versionCode = 211
versionName = "2.1.1"

// 支持Android版本
buildToolsVersion = "33.0.0"


Loading…
Cancel
Save