doc: fix ActiveLink detection condition (#23472)
## Documentation / Examples - [x] Make sure the linting passes `router.pathname` can be dynamic routes like `/posts/[slug]`, use `router.asPath` instead to detect anchor is active
Showing
想要评论请 注册 或 登录