参考文档 ↗
返回当前的导航动作,该动作描述了路由器如何到达当前位置,是通过历史堆栈的 pop、push 还是 replace 操作。
useNavigationType(): NavigationType