mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-23 18:10:12 +01:00
This commit is contained in:
parent
f85b5d6740
commit
11adc35e10
13 changed files with 136 additions and 64 deletions
|
|
@ -20,7 +20,7 @@ import {initMessage} from "../dialog/message";
|
|||
import {getAllTabs} from "../layout/getAll";
|
||||
import {getLocalStorage} from "../protyle/util/compatibility";
|
||||
import {init} from "../window/init";
|
||||
import {positionPDF} from "./global/positionPDF";
|
||||
import {positionPDF, switchTabById} from "./global/function";
|
||||
|
||||
class App {
|
||||
constructor() {
|
||||
|
|
@ -145,5 +145,6 @@ new App();
|
|||
|
||||
// 再次点击新窗口已打开的 PDF 时,需进行定位
|
||||
window.newWindow = {
|
||||
positionPDF: positionPDF
|
||||
positionPDF: positionPDF,
|
||||
switchTabById: switchTabById
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue