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]);