未验证 提交 0416d325 编写于 作者: A Allen Wang 提交者: GitHub

Fix: the is real node (#293)

Co-authored-by: wu-sheng's avatar吴晟 Wu Sheng <wu.sheng@foxmail.com>
上级 5ddfb9f6
......@@ -49,7 +49,7 @@ export default (d3, graph, tool, funcs, tip) => {
.attr('x', 2)
.attr('y', 10)
.attr('style', 'cursor: move;')
.attr('xlink:href', (d) => (d.sla < 98 ? icons.CUBEERROR : icons.CUBE));
.attr('xlink:href', (d) => ((d.sla < 98 && d.isReal) ? icons.CUBEERROR : icons.CUBE));
nodeEnter
.append('image')
.attr('width', 32)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册