Browse Source

all

hanyuqing
hanyuqing 3 months ago
parent
commit
1b764e4e7c
  1. 2
      vue/src/system/GraphBuilder.vue

2
vue/src/system/GraphBuilder.vue

@ -335,11 +335,13 @@ export default {
allSelect(msg){ allSelect(msg){
if (msg.entities && msg.entities.length > 0) { if (msg.entities && msg.entities.length > 0) {
msg.entities.forEach(ent => { msg.entities.forEach(ent => {
ent.selected=true
this.selectedEntities.push(ent); this.selectedEntities.push(ent);
}); });
} }
if (msg.relations && msg.relations.length > 0) { if (msg.relations && msg.relations.length > 0) {
msg.relations.forEach(rel => { msg.relations.forEach(rel => {
rel.selected=true
this.selectedRelations.push(rel); this.selectedRelations.push(rel);
}); });
} }

Loading…
Cancel
Save