This commit is contained in:
Vanessa 2023-03-19 23:20:31 +08:00
parent eba5808af2
commit dbff939601
3 changed files with 16 additions and 4 deletions

View file

@ -131,10 +131,8 @@ export const initFramework = () => {
});
initEditorName();
if (getOpenNotebookCount() > 0) {
if (window.JSAndroid) {
if (window.openFileByURL(window.JSAndroid.getBlockURL())) {
return;
}
if (window.JSAndroid && window.openFileByURL(window.JSAndroid.getBlockURL())) {
return;
}
const openId = getSearch("id");
if (openId) {