From ced9aa9ce1c4388ceb108d3538b3ec6f978adaef Mon Sep 17 00:00:00 2001 From: GouJ Date: Thu, 24 Sep 2026 22:18:29 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E4=B8=BB=E4=BD=93=E8=BA=AB=E4=BB=BD?= =?UTF-8?q?=E5=8A=A0=E8=BD=BD=E7=94=9F=E6=88=90=E6=A8=A1=E5=9E=8B=E7=9B=AE?= =?UTF-8?q?=E5=BD=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/features/subject-identity/useSubjectIdentity.ts | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/features/subject-identity/useSubjectIdentity.ts b/src/features/subject-identity/useSubjectIdentity.ts index 67a1d00..c07a6ac 100644 --- a/src/features/subject-identity/useSubjectIdentity.ts +++ b/src/features/subject-identity/useSubjectIdentity.ts @@ -31,6 +31,11 @@ export function useSubjectIdentity() { const candidateLimit = ref(3) const force = ref(false) /** 目录与身份已有刷新按钮,查询只在进入、切换和手动刷新时读取。 */ + const generationModelsQuery = usePolling( + projectId, + async (_id, signal) => generationConfigApi.catalog(signal), + false + ) const catalog = usePolling( projectId, async (id, signal) => { @@ -346,6 +351,7 @@ export function useSubjectIdentity() { subject, subjects, catalog, + generationModelsQuery, castingQuery, styleQuery, profileQuery,