Vanessa 2022-10-02 12:08:13 +08:00
parent 805d1db063
commit 76083c3310
2 changed files with 2 additions and 4 deletions

View file

@ -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 => {

View file

@ -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);