浏览代码

do not remove the first node(#339) (#355)

Do not remove the first node
master
leitao Carpenter Lee 5 年前
父节点
当前提交
feb44e74d4
共有 1 个文件被更改,包括 0 次插入5 次删除
  1. +0
    -5
      sentinel-dashboard/src/main/java/com/taobao/csp/sentinel/dashboard/view/vo/ResourceVo.java

+ 0
- 5
sentinel-dashboard/src/main/java/com/taobao/csp/sentinel/dashboard/view/vo/ResourceVo.java 查看文件

@@ -52,12 +52,7 @@ public class ResourceVo {
return null;
}
List<ResourceVo> list = new ArrayList<>();
boolean isFirst = true;
for (NodeVo nodeVo : nodeVos) {
if (isFirst) {
isFirst = false;
continue;
}
ResourceVo vo = new ResourceVo();
vo.parentTtId = nodeVo.getParentId();
vo.ttId = nodeVo.getId();


正在加载...
取消
保存