mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-09-22 00:20:47 +02:00
🚨
This commit is contained in:
parent
877e2c4334
commit
4d07212fee
2 changed files with 4 additions and 4 deletions
|
@ -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) => {
|
||||||
|
|
|
@ -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;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue