diff --git a/packages/fineui/src/core/func/alias.js b/packages/fineui/src/core/func/alias.js index c2ddbb28f..fc0eaa772 100644 --- a/packages/fineui/src/core/func/alias.js +++ b/packages/fineui/src/core/func/alias.js @@ -637,7 +637,7 @@ export const getEncodeURL = function(urlTemplate, param) { export const encodeURIComponent = function(url) { const specialCharsMap = getSpecialCharsMap(); - url = url || ""; + url = url ?? ""; url = replaceAll(`${url}`, keys(specialCharsMap || []).join("|"), str => { switch (str) { case "\\":