diff --git a/src/core/event/scroll.js b/src/core/event/scroll.js index a7f08d7b6..762d949f7 100644 --- a/src/core/event/scroll.js +++ b/src/core/event/scroll.js @@ -53,7 +53,7 @@ function highlight(path) { if (!last) { return } - const li = nav[getNavKey(path, last.getAttribute('data-id'))] + const li = nav[getNavKey(decodeURIComponent(path), last.getAttribute('data-id'))] if (!li || li === active) { return