This commit is contained in:
Vanessa 2024-02-07 17:18:49 +08:00
parent 6fe5754234
commit 6e4be750de

View file

@ -463,6 +463,9 @@ export class Backlink extends Model {
}
public refresh() {
if (!this.blockId) {
return;
}
const element = this.element.querySelector('.block__icon[data-type="refresh"] svg');
element.classList.add("fn__rotate");
fetchPost("/api/ref/refreshBacklink", {