mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-21 00:50:13 +01:00
🚨
This commit is contained in:
parent
798a2970f9
commit
4406dc687b
9 changed files with 22 additions and 21 deletions
|
|
@ -15,6 +15,7 @@ import {onGet} from "../protyle/util/onGet";
|
|||
/// #if !BROWSER
|
||||
import {shell} from "electron";
|
||||
import {BrowserWindow, getCurrentWindow} from "@electron/remote";
|
||||
import {newCardModel} from "../card/newCardTab";
|
||||
/// #endif
|
||||
import {pushBack} from "../util/backForward";
|
||||
import {Asset} from "../asset";
|
||||
|
|
@ -28,7 +29,6 @@ import {objEquals} from "../util/functions";
|
|||
import {resize} from "../protyle/util/resize";
|
||||
import {Search} from "../search";
|
||||
import {App} from "../index";
|
||||
import {newCardModel} from "../card/newCardTab";
|
||||
|
||||
export const openFileById = async (options: {
|
||||
app: App,
|
||||
|
|
@ -444,7 +444,7 @@ const newTab = (options: IOpenFileOptions) => {
|
|||
}));
|
||||
return true;
|
||||
}
|
||||
})
|
||||
});
|
||||
}
|
||||
} else {
|
||||
// plugin 0.8.3 历史兼容
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue