mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-23 18:10:12 +01:00
This commit is contained in:
parent
37f950ba4f
commit
23c3f9f154
6 changed files with 214 additions and 81 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue