路由中文

This commit is contained in:
刘玉霞 2024-06-27 16:55:36 +08:00
parent 3a1beee46f
commit be609b4c2f

View File

@ -379,7 +379,7 @@ const init = () => {
const lastRoute = JSON.parse(route.params.to as string)
if (lastRoute.path != adminBaseRoutePath) {
let query = !isEmpty(lastRoute.query) ? lastRoute.query : {}
routePush({ path: lastRoute.path, query: query })
routePush({ path: decodeURIComponent(lastRoute.path), query: query })
return
}
}