Vanessa 2024-04-20 11:18:25 +08:00
parent 59aa3fc383
commit a2ffb2a21c
3 changed files with 8 additions and 2 deletions

View file

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