mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-30 21:38:48 +01:00
This commit is contained in:
parent
71fbfb1acd
commit
18a80b02c4
1 changed files with 3 additions and 2 deletions
|
|
@ -28,6 +28,7 @@ import {openEditorTab} from "./util";
|
|||
import {makeCard} from "../card/makeCard";
|
||||
import {transaction} from "../protyle/wysiwyg/transaction";
|
||||
import {emitOpenMenu} from "../plugin/EventBus";
|
||||
import {openByMobile} from "../protyle/util/compatibility";
|
||||
|
||||
const initMultiMenu = (selectItemElements: NodeListOf<Element>, app: App) => {
|
||||
const fileItemElement = Array.from(selectItemElements).find(item => {
|
||||
|
|
@ -322,7 +323,7 @@ export const initNavigationMenu = (app: App, liElement: HTMLElement) => {
|
|||
path: "/"
|
||||
}, response => {
|
||||
hideMessage(msgId);
|
||||
window.open(response.data.zip);
|
||||
openByMobile(response.data.zip);
|
||||
});
|
||||
}
|
||||
}, {
|
||||
|
|
@ -334,7 +335,7 @@ export const initNavigationMenu = (app: App, liElement: HTMLElement) => {
|
|||
id: notebookId,
|
||||
}, response => {
|
||||
hideMessage(msgId);
|
||||
window.open(response.data.zip);
|
||||
openByMobile(response.data.zip);
|
||||
});
|
||||
}
|
||||
}]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue