标准清单 高级检索

This commit is contained in:
宋伟佳
2021-06-25 17:57:33 +08:00
parent a2acbe7ae6
commit b843b0d975
60 changed files with 572 additions and 698 deletions
@@ -219,7 +219,6 @@ export default {
});
let graphData = this.graphData
G6.Util.traverseTree(graphData, function(item) {
// console.log(item)
const data = item.data || {}
item.id = item.nodeId;
item.name = item.nodeName
@@ -273,7 +272,6 @@ export default {
graph.setItemState(ce, 'click', false);
});
const edgeItem = e.item; // 获取被点击的边元素对象
console.log('EdgeClick', edgeItem)
graph.setItemState(edgeItem, 'click', true); // 设置当前边的 click 状态为 true
this.$emit('edgeClick', edgeItem)
});