From a1be78cd5ed5c8c44bfd74025b0205d168cbfd7e Mon Sep 17 00:00:00 2001 From: Vanessa Date: Thu, 30 Jun 2022 18:19:05 +0800 Subject: [PATCH] :recycle: fix https://github.com/siyuan-note/siyuan/issues/5315 --- app/src/layout/index.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/app/src/layout/index.ts b/app/src/layout/index.ts index 27e5bfd44..9d0740b87 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;