This commit is contained in:
Vanessa 2025-08-26 11:04:40 +08:00
parent 877e2c4334
commit 4d07212fee
2 changed files with 4 additions and 4 deletions

View file

@ -255,10 +255,10 @@ ${checkUpdateHTML}
}); });
}); });
about.element.querySelector("#vacuumDataIndex").addEventListener("click", () => { about.element.querySelector("#vacuumDataIndex").addEventListener("click", () => {
fetchPost("/api/system/vacuumDataIndex", {}, (response) => {}); fetchPost("/api/system/vacuumDataIndex", {}, () => {});
}); });
about.element.querySelector("#rebuildDataIndex").addEventListener("click", () => { about.element.querySelector("#rebuildDataIndex").addEventListener("click", () => {
fetchPost("/api/system/rebuildDataIndex", {}, (response) => {}); fetchPost("/api/system/rebuildDataIndex", {}, () => {});
}); });
about.element.querySelector("#exportLog").addEventListener("click", () => { about.element.querySelector("#exportLog").addEventListener("click", () => {
fetchPost("/api/system/exportLog", {}, (response) => { fetchPost("/api/system/exportLog", {}, (response) => {

View file

@ -300,12 +300,12 @@ export const initAbout = () => {
event.stopPropagation(); event.stopPropagation();
break; break;
} else if (target.id === "vacuumDataIndex") { } else if (target.id === "vacuumDataIndex") {
fetchPost("/api/system/vacuumDataIndex", {}, (response) => {}); fetchPost("/api/system/vacuumDataIndex", {}, () => {});
event.preventDefault(); event.preventDefault();
event.stopPropagation(); event.stopPropagation();
break; break;
} else if (target.id === "rebuildDataIndex") { } else if (target.id === "rebuildDataIndex") {
fetchPost("/api/system/rebuildDataIndex", {}, (response) => {}); fetchPost("/api/system/rebuildDataIndex", {}, () => {});
event.preventDefault(); event.preventDefault();
event.stopPropagation(); event.stopPropagation();
break; break;