From b48c34d6b43c93a4702526a14377af63d1223c5f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=8E=8B=E5=BE=B7=E5=AE=87?= Date: Tue, 22 Sep 2026 13:26:00 +0800 Subject: [PATCH] =?UTF-8?q?=E5=88=A0=E6=8E=89=E9=87=8D=E5=A4=8D=E4=B8=94?= =?UTF-8?q?=E6=97=A0=E4=BA=BA=E4=BD=BF=E7=94=A8=E7=9A=84=203D=20=E6=8F=90?= =?UTF-8?q?=E4=BA=A4=E8=B6=85=E6=97=B6=E5=B8=B8=E9=87=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - src/components/image-editor/model3d-generation/Model3dGenerationSubmission.ts:删除 MODEL3D_SUBMISSION_TIMEOUT_MS;实际生效的是 editorProjectClient 的 EDITOR_MODEL3D_SUBMISSION_TIMEOUT_MS(submitModel3dGenerationRequest 用它),保留两份 60_000 只会各自漂移 验证:全仓库检索该常量只剩定义处(已删);npx tsc -p tsconfig.typecheck-guardrails.json --noEmit --- .../model3d-generation/Model3dGenerationSubmission.ts | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/components/image-editor/model3d-generation/Model3dGenerationSubmission.ts b/src/components/image-editor/model3d-generation/Model3dGenerationSubmission.ts index 5a5e99cf3..77a27b26b 100644 --- a/src/components/image-editor/model3d-generation/Model3dGenerationSubmission.ts +++ b/src/components/image-editor/model3d-generation/Model3dGenerationSubmission.ts @@ -17,9 +17,6 @@ import { resolveModel3dGenerationQuote, } from './Model3dGenerationFormModel'; -/** 提交只做校验与入队,毫秒级返回,因此不沿用生成链路的分钟级超时。 */ -export const MODEL3D_SUBMISSION_TIMEOUT_MS = 60_000; - export const MODEL3D_TEXT_PROMPT_REQUIRED_MESSAGE = '请填写 3D 模型描述'; export const MODEL3D_IMAGE_SOURCE_REQUIRED_MESSAGE = '请先选择一张画布图片或素材库图片';