From 8d1785513347d13814c6e28782add6eb25da1194 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=8E=8B=E5=BE=B7=E5=AE=87?= Date: Thu, 24 Sep 2026 17:28:29 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8F=90=E4=BA=A4=E8=AE=A1=E5=88=92=E5=8E=BB?= =?UTF-8?q?=E6=8E=89=E6=97=A0=E4=BA=BA=E8=AF=BB=E5=8F=96=E7=9A=84=20title?= =?UTF-8?q?=20=E5=AD=97=E6=AE=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - src/components/image-editor/model3d-generation/Model3dGenerationSubmission.ts:Model3dSubmissionPlanBase.title 没有任何消费方(调用方自己按 resolveModel3dResultTitle 重算),删除该字段与它的装配代码,避免把死数据当成权威标题 --- .../model3d-generation/Model3dGenerationSubmission.ts | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/components/image-editor/model3d-generation/Model3dGenerationSubmission.ts b/src/components/image-editor/model3d-generation/Model3dGenerationSubmission.ts index a7c25b14d..9a09340e1 100644 --- a/src/components/image-editor/model3d-generation/Model3dGenerationSubmission.ts +++ b/src/components/image-editor/model3d-generation/Model3dGenerationSubmission.ts @@ -48,7 +48,6 @@ type Model3dSubmissionPlanBase = { */ attemptNonce: string; requestKey: string; - title: string; }; export type Model3dSubmissionPlan = @@ -169,7 +168,6 @@ export function buildModel3dSubmissionPlan({ ...(trimmedProjectId && canvasCompletion ? { canvasCompletion } : {}), }; // 一个端点一个收口函数:端点字面量与提交体类型在同一处配对,判别联合据此收窄。 - const title = resolveModel3dResultTitle(dialog); const finishTextToModel = ( body: Model3dTextToModelRequest, ): { ok: true; plan: Model3dSubmissionPlan } => ({ @@ -182,7 +180,6 @@ export function buildModel3dSubmissionPlan({ endpoint: 'text-to-model', body, }), - title, body, }, }); @@ -198,7 +195,6 @@ export function buildModel3dSubmissionPlan({ endpoint: 'image-to-model', body, }), - title, body, }, });