From d7b26c22e1146d796927231570cbe0e1c818f0a6 Mon Sep 17 00:00:00 2001 From: dailer Date: Mon, 30 Oct 2023 09:52:47 +0800 Subject: [PATCH] update --- packages/fineui/src/core/platform/web/load.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/fineui/src/core/platform/web/load.js b/packages/fineui/src/core/platform/web/load.js index 8a43934dd..d010bdb54 100644 --- a/packages/fineui/src/core/platform/web/load.js +++ b/packages/fineui/src/core/platform/web/load.js @@ -105,7 +105,7 @@ export function loadScript(uri) { document.head.appendChild(script); }); - promises[uri] ??= []; + promises[uri] = []; promises[uri].push(promise); return Promise.all(promises[uri]);