mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-03-10 06:32:33 +01:00
⚡ 获取 json 布局不应保存 scroll
This commit is contained in:
parent
45bfec7d2f
commit
ac269b4e1b
16 changed files with 74 additions and 83 deletions
|
|
@ -180,7 +180,7 @@ export const initFramework = (app: App, isStart: boolean) => {
|
|||
const localDoc = window.siyuan.storage[Constants.LOCAL_DOCINFO];
|
||||
fetchPost("/api/block/checkBlockExist", {id: localDoc.id}, existResponse => {
|
||||
if (existResponse.data) {
|
||||
openMobileFileById(app, localDoc.id, [Constants.CB_GET_SCROLL]);
|
||||
openMobileFileById(app, localDoc.id, [Constants.CB_GET_SCROLL, Constants.CB_GET_HL]);
|
||||
} else {
|
||||
fetchPost("/api/block/getRecentUpdatedBlocks", {}, (response) => {
|
||||
if (response.data.length !== 0) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue