浏览代码

:art: fix https://github.com/siyuan-note/siyuan/issues/10063

Vanessa 1 年之前
父节点
当前提交
f8a5ca0aa6
共有 1 个文件被更改,包括 3 次插入1 次删除
  1. 3 1
      app/src/plugin/API.ts

+ 3 - 1
app/src/plugin/API.ts

@@ -16,6 +16,7 @@ import {Setting} from "./Setting";
 import {Menu} from "./Menu";
 import {Protyle} from "../protyle";
 import {openMobileFileById} from "../mobile/editor";
+import {lockScreen} from "../dialog/processSystem";
 
 let openTab;
 let openWindow;
@@ -172,6 +173,8 @@ export const API = {
     fetchGet,
     getFrontend,
     getBackend,
+    lockScreen,
+    openMobileFileById,
     openTab,
     openWindow,
     Protyle,
@@ -180,5 +183,4 @@ export const API = {
     Menu,
     Setting,
     Constants,
-    openMobileFileById
 };