diff --git a/src/utils/index.ts b/src/utils/index.ts index 3aa8e52..1d6dc03 100644 --- a/src/utils/index.ts +++ b/src/utils/index.ts @@ -30,7 +30,7 @@ export function currRoute() { return getUrlObj(fullPath) } -function ensureDecodeURIComponent(url: string) { +export function ensureDecodeURIComponent(url: string) { if (url.startsWith('%')) { return ensureDecodeURIComponent(decodeURIComponent(url)) }