mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-16 22:50:13 +01:00
This commit is contained in:
parent
50b036c759
commit
a7e862264a
1 changed files with 4 additions and 2 deletions
|
|
@ -138,9 +138,11 @@ export const initFramework = () => {
|
|||
});
|
||||
if (getOpenNotebookCount() > 0) {
|
||||
if (window.JSAndroid) {
|
||||
if (window.openFileByURL(window.JSAndroid.getBlockURL())) {
|
||||
return;
|
||||
if (window.openFileByURL(window.JSAndroid.getBlockURL())) {
|
||||
return;
|
||||
}
|
||||
} else if (window.webkit?.messageHandlers) {
|
||||
window.webkit.messageHandlers.getBlockURL.postMessage()
|
||||
}
|
||||
const openId = getSearch("id");
|
||||
if (openId) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue