"active" : ""}> <Link href="/about">about</Link> </li> </ul> ); };. 如果要包含url 查询参数,也可以使用 router.asPath 而不是 router.pathname 。
確定! 回上一頁