Replies: 2 comments 1 reply
-
经过看文档发现 可以通过modifyClientRenderOpts 来动态覆盖更改history 不知道有没有其他的风险 |
Beta Was this translation helpful? Give feedback.
1 reply
-
不好意思 发现文档有相关runtimeHistory配置 开启相关配置后 动态设置history 发现在非history模式下 通过useLocation 拿不到相关的search 以及query |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
大佬们,我有个需求就是我想把路由创建后置,通过条件判断生成hashHistory or browserHistory
Beta Was this translation helpful? Give feedback.
All reactions