This commit is contained in:
Vanessa 2023-10-11 11:24:29 +08:00
parent 37f950ba4f
commit 23c3f9f154
6 changed files with 214 additions and 81 deletions

View file

@ -464,7 +464,9 @@ export class Graph extends Model {
if (id) {
this.blockId = id;
}
if (!isCurrentEditor(this.blockId)) {
if (!isCurrentEditor(this.blockId) &&
this.graphElement.firstElementChild.classList.contains("fn__none") // 引用右键打开关系图
) {
return;
}
this.graphData = response.data;