修正下获取构建id的异常问题

This commit is contained in:
aixianling
2024-10-18 10:55:03 +08:00
parent 47af53443e
commit c63a56d2c8

View File

@@ -87,7 +87,7 @@ const handleZip = (id, ws) => {
clearInterval(timer) clearInterval(timer)
reject("构建失败") reject("构建失败")
} }
}) }).catch(() => 0)
}, 2000) }, 2000)
})) }))
.then(() => db.detail({table: "node_custom_config", id})) .then(() => db.detail({table: "node_custom_config", id}))