From 6b484527a7ec31fcdcb0ca5b328705b9d72fb840 Mon Sep 17 00:00:00 2001 From: Liang Ding Date: Fri, 20 Jan 2023 11:12:21 +0800 Subject: [PATCH] :art: Clean code --- app/src/layout/util.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/src/layout/util.ts b/app/src/layout/util.ts index df78d03b0..9441640cf 100644 --- a/app/src/layout/util.ts +++ b/app/src/layout/util.ts @@ -298,7 +298,8 @@ export const JSONToLayout = (isStart: boolean) => { } }); } - // https://github.com/siyuan-note/siyuan/pull/7086 + + // 支持通过 URL 查询字符串参数 `id` 和 `focus` 跳转到 Web 端指定块 https://github.com/siyuan-note/siyuan/pull/7086 const openId = getSearch("id"); if (openId) { // 启动时 layout 中有该文档,该文档还原会在此之后,因此需有延迟