mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-01-22 08:16:10 +01:00
This commit is contained in:
parent
805d1db063
commit
76083c3310
2 changed files with 2 additions and 4 deletions
|
|
@ -441,9 +441,8 @@ export const updateBacklinkGraph = (models: IModels, protyle: IProtyle) => {
|
|||
return;
|
||||
}
|
||||
item.element.querySelector('.block__icon[data-type="refresh"] svg').classList.add("fn__rotate");
|
||||
fetchPost("/api/ref/getBacklink", {
|
||||
fetchPost("/api/ref/getBacklink2", {
|
||||
id: blockId || "",
|
||||
beforeLen: 12,
|
||||
k: item.inputsElement[0].value,
|
||||
mk: item.inputsElement[1].value,
|
||||
}, response => {
|
||||
|
|
|
|||
|
|
@ -379,10 +379,9 @@ export class Backlink extends Model {
|
|||
return;
|
||||
}
|
||||
element.classList.add("fn__rotate");
|
||||
fetchPost("/api/ref/getBacklink", {
|
||||
fetchPost("/api/ref/getBacklink2", {
|
||||
k: this.inputsElement[0].value,
|
||||
mk: this.inputsElement[1].value,
|
||||
beforeLen: 12,
|
||||
id: this.blockId,
|
||||
}, response => {
|
||||
this.render(response.data);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue