修复分组不显示问题

pull/22/head
rays 2021-06-24 15:23:53 +08:00
parent 25c393f0fd
commit e5ab118068
1 changed files with 12 additions and 10 deletions

View File

@ -230,7 +230,8 @@ public class ApiGroupServiceImpl extends ServiceImpl<ApiGroupMapper, ApiGroup> i
}
}
// 删除空分组
// 如果是搜索,则删除空分组
if (ObjectUtil.isNotEmpty(apiGroupRequest.getGroupName())) {
Iterator<ApiGroupTreeWrapper> iterator = allApiGroupTreeWrapperList.iterator();
while (iterator.hasNext()) {
ApiGroupTreeWrapper item = iterator.next();
@ -243,6 +244,7 @@ public class ApiGroupServiceImpl extends ServiceImpl<ApiGroupMapper, ApiGroup> i
}
}
}
}
return allApiGroupTreeWrapperList;
}