diff --git a/app/src/mobile/util/menu.ts b/app/src/mobile/util/menu.ts
index 8ff5a3ee2..fad84f052 100644
--- a/app/src/mobile/util/menu.ts
+++ b/app/src/mobile/util/menu.ts
@@ -249,10 +249,16 @@ ${accountHTML}
${window.siyuan.languages.exportDataTip}
+
+
+
+ ${window.siyuan.languages.systemLogTip}
@@ -387,6 +393,11 @@ ${accountHTML}
openByMobile(response.data.zip);
});
});
+ modelMainElement.querySelector("#exportLog").addEventListener("click", () => {
+ fetchPost("/api/system/exportLog", {}, (response) => {
+ openByMobile(response.data.zip);
+ })
+ });
modelMainElement.querySelector("#importData").addEventListener("change", (event: InputEvent & { target: HTMLInputElement }) => {
const formData = new FormData();
formData.append("file", event.target.files[0]);