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 && ( + 当前模板未启用能力插件。 + )} + 视觉模板