From 8c98cc574d9430552d4e1ce7291cd730e51be2da Mon Sep 17 00:00:00 2001 From: Vanessa Date: Thu, 5 Mar 2026 22:22:19 +0800 Subject: [PATCH] :art: https://github.com/siyuan-note/siyuan/issues/17140 --- app/src/plugin/API.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/src/plugin/API.ts b/app/src/plugin/API.ts index e3d7b41b1..e2361e3e8 100644 --- a/app/src/plugin/API.ts +++ b/app/src/plugin/API.ts @@ -21,7 +21,7 @@ import {lockScreen, exitSiYuan} from "../dialog/processSystem"; import {Model} from "../layout/Model"; import {getActiveTab, getDockByType} from "../layout/tabUtil"; /// #if !MOBILE -import {getAllModels} from "../layout/getAll"; +import {getAllModels, getAllTabs} from "../layout/getAll"; /// #endif import {getAllEditor} from "../layout/getAll"; import {openSetting} from "../config"; @@ -348,6 +348,7 @@ export const API = { /// #if !MOBILE getActiveTab, getAllModels, + getAllTabs, /// #endif getActiveEditor, platformUtils,