|
@@ -30,7 +30,7 @@ export function currRoute() {
|
|
|
return getUrlObj(fullPath)
|
|
return getUrlObj(fullPath)
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
-function ensureDecodeURIComponent(url: string) {
|
|
|
|
|
|
|
+export function ensureDecodeURIComponent(url: string) {
|
|
|
if (url.startsWith('%')) {
|
|
if (url.startsWith('%')) {
|
|
|
return ensureDecodeURIComponent(decodeURIComponent(url))
|
|
return ensureDecodeURIComponent(decodeURIComponent(url))
|
|
|
}
|
|
}
|