From f8a5ca0aa6e38c6c8c83038989235dc899d24b4b Mon Sep 17 00:00:00 2001 From: Vanessa Date: Wed, 3 Jan 2024 10:09:42 +0800 Subject: [PATCH] :art: fix https://github.com/siyuan-note/siyuan/issues/10063 --- app/src/plugin/API.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/app/src/plugin/API.ts b/app/src/plugin/API.ts index 90d6c87cd..1be7d9d56 100644 --- a/app/src/plugin/API.ts +++ b/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 };