📜  后退按钮下一个 js - Javascript 代码示例

📅  最后修改于: 2022-03-11 15:03:34.397000             🧑  作者: Mango

代码示例1
import { useRouter } from 'next/router'

export default function Page() {
  const router = useRouter()

  return  router.back()}>Click here to go back
}