From 366687297f440ab9c82425165560b8dec4496cfa Mon Sep 17 00:00:00 2001 From: que01 Date: Wed, 23 Sep 2026 00:23:58 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E5=9C=A8=E5=90=8E=E5=8F=B0=E5=B1=95?= =?UTF-8?q?=E7=A4=BA=E8=83=BD=E5=8A=9B=E6=8F=92=E4=BB=B6=E7=8A=B6=E6=80=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/features/workspace/WorkspacePage.tsx | 22 +++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/apps/admin/src/features/workspace/WorkspacePage.tsx b/apps/admin/src/features/workspace/WorkspacePage.tsx index 1c31bd0..22a688f 100644 --- a/apps/admin/src/features/workspace/WorkspacePage.tsx +++ b/apps/admin/src/features/workspace/WorkspacePage.tsx @@ -193,11 +193,33 @@ export function WorkspacePage() { runtimeQuery.data?.offerings?.length ?? 0} + 插件 {runtimeQuery.data?.plugins?.length ?? 0} 小程序和后台预览消费同一份 Runtime Workspace;模板 key 只用于安装和版本管理,不作为客户端业务分支。 + + 能力插件 + {(runtimeQuery.data?.plugins ?? []).map((plugin) => ( + + + {plugin.displayName} + + {plugin.status} + + v{plugin.version} + {plugin.apiContract} + + + 依赖模块:{plugin.requiredModules.join("、")} · Schema:{plugin.configSchema} + + + ))} + {!runtimeQuery.data?.plugins?.length && ( + 当前模板未启用能力插件。 + )} + 视觉模板