fix(core): [CORE-25] read defaults without navigator

This commit is contained in:
Harvey Zhao committed 2026-09-13 13:53:49 +08:00
1 parent 4a299eb2d4
commit 3b016970f2
26 files changed
+916 -35

No files matched your search

+1 -1
View File
@@ -4304,7 +4304,7 @@ function createDefaults() {
icons: {},
cssVar: {},
customType: {},
lang: navigator?.language.toLowerCase()
lang: typeof navigator === "undefined" ? void 0 : navigator?.language.toLowerCase()
};
}
function resolveOption(input, defaults2) {