diff --git a/src/utils/url.ts b/src/utils/url.ts index 92252fa3..f9f82281 100644 --- a/src/utils/url.ts +++ b/src/utils/url.ts @@ -210,7 +210,7 @@ const _decodeURI = (value: string) => { if (value.indexOf('+') !== -1) { value = value.replace(/\+/g, ' ') } - return /%/.test(value) ? decodeURIComponent_(value) : value + return value.indexOf('%') !== -1 ? decodeURIComponent_(value) : value } const _getQueryParam = (