useRouter is a React Hook, meaning it cannot be used with classes. ... The API for router.replace is exactly the same as the API for router.push .
確定! 回上一頁