mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-03-10 06:32:33 +01:00
♻️ context
This commit is contained in:
parent
3ef5731cb9
commit
65821e57de
22 changed files with 50 additions and 45 deletions
|
|
@ -53,7 +53,7 @@ export const openMobileFileById = (id: string, action = [Constants.CB_GET_HL], p
|
|||
fetchPost("/api/filetree/getDoc", {
|
||||
id,
|
||||
size: action.includes(Constants.CB_GET_ALL) ? Constants.SIZE_GET_MAX : Constants.SIZE_GET,
|
||||
mode: !action.includes(Constants.CB_GET_ALL) ? 3 : 0,
|
||||
mode: action.includes(Constants.CB_GET_CONTEXT) ? 3 : 0,
|
||||
}, getResponse => {
|
||||
onGet(getResponse, window.siyuan.mobileEditor.protyle, action);
|
||||
window.siyuan.mobileEditor.protyle.breadcrumb.render(window.siyuan.mobileEditor.protyle);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue