diff --git a/packages/@vuepress/core/lib/client/app.js b/packages/@vuepress/core/lib/client/app.js index 85b27d7ba9..39a5dccef9 100644 --- a/packages/@vuepress/core/lib/client/app.js +++ b/packages/@vuepress/core/lib/client/app.js @@ -77,7 +77,7 @@ export async function createApp (isServer) { return false } return { - selector: to.hash + selector: decodeURIComponent(to.hash) } } else { return { x: 0, y: 0 }