mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-22 09:30:14 +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 (getOpenNotebookCount() > 0) {
|
||||||
if (window.JSAndroid) {
|
if (window.JSAndroid) {
|
||||||
if (window.openFileByURL(window.JSAndroid.getBlockURL())) {
|
if (window.openFileByURL(window.JSAndroid.getBlockURL())) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
} else if (window.webkit?.messageHandlers) {
|
||||||
|
window.webkit.messageHandlers.getBlockURL.postMessage()
|
||||||
}
|
}
|
||||||
const openId = getSearch("id");
|
const openId = getSearch("id");
|
||||||
if (openId) {
|
if (openId) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue