fix role node npe

This commit is contained in:
bwcx_jzy 2021-08-09 20:16:10 +08:00
parent 8f5de1be7b
commit 9a9dd2814a

View File

@ -34,7 +34,7 @@ public class ProjectInfoService implements BaseDynamicService {
public JSONArray listAll(NodeModel nodeModel, HttpServletRequest request) {
if (!nodeModel.isOpenStatus()) {
if (nodeModel == null || !nodeModel.isOpenStatus()) {
return null;
}
JSONArray jsonArray;