fix: extend customer service config timeout
Deploy olons-server production / deploy (push) Successful in 1m52s

This commit is contained in:
richjohnrambo
2026-10-24 18:33:44 +08:00
parent cf2abcb572
commit 7e1b4a721e
+1 -1
View File
@@ -226,7 +226,7 @@
if (widget.configReady) return;
await Promise.race([
window.__olonsChatWidgetConfigPromise,
new Promise<void>((_, reject) => window.setTimeout(() => reject(new Error('客服配置加载超时,请稍后重试')), 10000)),
new Promise<void>((_, reject) => window.setTimeout(() => reject(new Error('客服配置加载超时,请稍后重试')), 20000)),
]);
} catch (err) {
window.$message?.error(errorText(err));