Browse Source

Merge pull request #242838 in DEC/fineui from master to feature/x

* commit '8b0321053ba639415d0841d3ea1c4a5a027bb1fe':
  无JIRA任务 fix: encodeURIcomponent
research/test
superman 1 year ago
parent
commit
b669acf285
  1. 2
      packages/fineui/src/core/func/alias.js

2
packages/fineui/src/core/func/alias.js

@ -637,7 +637,7 @@ export const getEncodeURL = function(urlTemplate, param) {
export const encodeURIComponent = function(url) { export const encodeURIComponent = function(url) {
const specialCharsMap = getSpecialCharsMap(); const specialCharsMap = getSpecialCharsMap();
url = url || ""; url = url ?? "";
url = replaceAll(`${url}`, keys(specialCharsMap || []).join("|"), str => { url = replaceAll(`${url}`, keys(specialCharsMap || []).join("|"), str => {
switch (str) { switch (str) {
case "\\": case "\\":

Loading…
Cancel
Save