mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-03-09 06:02:33 +01:00
This commit is contained in:
parent
e094cb20c4
commit
d3eae7fa3d
1 changed files with 1 additions and 2 deletions
|
|
@ -595,8 +595,7 @@ export class Backlink extends Model {
|
||||||
this.status[this.blockId].backlinkMOpenIds.push(data.backmentions[index].id);
|
this.status[this.blockId].backlinkMOpenIds.push(data.backmentions[index].id);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
if (window.siyuan.config.editor.backmentionExpandCount === 0) {
|
if (data.mentionsCount === 0) {
|
||||||
// 设置为 0 时需折叠
|
|
||||||
this.status[this.blockId].backlinkMStatus = 3;
|
this.status[this.blockId].backlinkMStatus = 3;
|
||||||
} else {
|
} else {
|
||||||
if (data.linkRefsCount === 0) {
|
if (data.linkRefsCount === 0) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue