Skip to content

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

:recycle: fix https://github.com/siyuan-note/siyuan/issues/5315

Vanessaa1be78cd5ed5
diff --git a/app/src/layout/index.ts b/app/src/layout/index.ts
index 27e5bfd442..9d0740b877 100644
--- a/app/src/layout/index.ts
+++ b/app/src/layout/index.ts
@@ -1,6 +1,10 @@
import {Wnd} from "./Wnd";
import {genUUID} from "../util/genID";
import {addResize, resizeTabs} from "./util";
+/// #if MOBILE
+// 检测移动端是否引入了桌面端的代码
+alert("Need remove unused code");
+/// #endif
export class Layout {
public element: HTMLElement;