Browse Source

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

Vanessa 1 year ago
parent
commit
f8a5ca0aa6
1 changed files with 3 additions and 1 deletions
  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
 };