update 标签管理-树形查询

This commit is contained in:
lijiarao
2023-08-24 17:37:20 +08:00
parent 9ec2f085b6
commit 0a4f8246d8
@@ -113,7 +113,7 @@ public class SysDictItemController {
}
});
JSONArray jsonArray = JSONArray.parseArray(JSON.toJSONString(treeNodes,SerializerFeature.WriteMapNullValue));
return Result.OK(jsonArray);
return Result.OK(jsonArray != null ? jsonArray : new JSONArray());
}
/**