From c63a56d2c86f10f6d7065e362e2aa800812090d0 Mon Sep 17 00:00:00 2001 From: aixianling Date: Fri, 18 Oct 2024 10:55:03 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=AD=A3=E4=B8=8B=E8=8E=B7=E5=8F=96?= =?UTF-8?q?=E6=9E=84=E5=BB=BAid=E7=9A=84=E5=BC=82=E5=B8=B8=E9=97=AE?= =?UTF-8?q?=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/websocket/custom/getZip.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/websocket/custom/getZip.js b/src/websocket/custom/getZip.js index a50d4c4..3d71b2c 100644 --- a/src/websocket/custom/getZip.js +++ b/src/websocket/custom/getZip.js @@ -87,7 +87,7 @@ const handleZip = (id, ws) => { clearInterval(timer) reject("构建失败") } - }) + }).catch(() => 0) }, 2000) })) .then(() => db.detail({table: "node_custom_config", id}))