From 98d4e4d2e5011190919588e77c7df6c7af37216f Mon Sep 17 00:00:00 2001 From: dzc <2388224167@qq.com> Date: Wed, 4 Feb 2026 15:18:50 +0800 Subject: [PATCH] =?UTF-8?q?fix:=E5=AF=BC=E5=87=BA=E8=B6=85=E6=97=B6?= =?UTF-8?q?=E6=97=B6=E9=97=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/utils/other.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/utils/other.ts b/src/utils/other.ts index 7c0068e..e8ca3ab 100644 --- a/src/utils/other.ts +++ b/src/utils/other.ts @@ -300,6 +300,7 @@ export function postDownBlobFile(url: any, data: any, fileName: string) { descs: data?.descs ?? [], }, data, + timeout: 60 * 1000, }) .then((response) => { handleBlobFile(response, fileName) @@ -390,7 +391,7 @@ export function handleBlobFile(response: any, fileName: string) { } } if (typeof (blob as any).text === "function") { - (blob as any).text().then((t: string) => handleText(t)) + ;(blob as any).text().then((t: string) => handleText(t)) } else { const reader = new FileReader() reader.onload = () => handleText(String(reader.result || ""))