Browse Source

无JIRA任务 fix: encodeURIcomponent

research/test
Kobi 1 year ago
parent
commit
ba86ebda9d
  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