Skip to content

An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作

:art: fix https://github.com/siyuan-note/siyuan/issues/7949

Vanessaee48fec10eae
diff --git a/app/src/mobile/util/MobileBackFoward.ts b/app/src/mobile/util/MobileBackFoward.ts
index 8b667c99d8..c57b22465d 100644
--- a/app/src/mobile/util/MobileBackFoward.ts
+++ b/app/src/mobile/util/MobileBackFoward.ts
@@ -139,6 +139,10 @@ export const goBack = () => {
hideElements(["util"], window.siyuan.mobile.editor.protyle);
closePanel();
return;
+ } else if (window.siyuan.dialogs.length !== 0) {
+ hideElements(["dialog"]);
+ closePanel();
+ return;
}
if (window.JSAndroid && window.siyuan.backStack.length < 1) {
if (document.querySelector('#message [data-id="exitTip"]')) {