Browse Source

Pull request #3622: 无JIRA任务 fix: encodeURIcomponent

Merge in VISUAL/fineui from ~KOBI/fineui:master to master

* commit 'ba86ebda9d654aa0ff446d45ce4cc1c1b387af60':
  无JIRA任务 fix: encodeURIcomponent
research/test
Kobi-蒋科斌 1 year ago
parent
commit
8b0321053b
  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) {
const specialCharsMap = getSpecialCharsMap();
url = url || "";
url = url ?? "";
url = replaceAll(`${url}`, keys(specialCharsMap || []).join("|"), str => {
switch (str) {
case "\\":

Loading…
Cancel
Save