更新时间:2022-06-26 07:49:03
React-router构建于浏览器History API之上。 browserHistory.push
调用 pushState()
方法。
React-router is build on the browser History API.
browserHistory.push
calls pushState()
method.
从第一个开始链接文档的行:
From the first line of the linked document:
pushState()有三个参数:状态对象,标题(当前被忽略),以及(可选)统一资源定位器(URL)。
pushState( ) takes three parameters: A state object, a title (which is currently ignored), and (optionally) a Uniform Resource Locator (URL).
因此,您的问题的答案是否。
So, the answer to your question is "No".