next react 笔记 自强不息_知行合一 2023-06-15 81 阅读1分钟 const router = useRouter(); 的 router 会被useEffect监听; import { router } from 'next/router'; 不会