diff --git a/packages/@vuepress/theme-default/components/Page.vue b/packages/@vuepress/theme-default/components/Page.vue index 63bd2e2e02..19b90491fc 100644 --- a/packages/@vuepress/theme-default/components/Page.vue +++ b/packages/@vuepress/theme-default/components/Page.vue @@ -191,7 +191,7 @@ function find (page, items, offset) { }) for (let i = 0; i < res.length; i++) { const cur = res[i] - if (cur.type === 'page' && cur.path === page.path) { + if (cur.type === 'page' && cur.path === decodeURIComponent(page.path)) { return res[i + offset] } }