Replies: 3 comments 8 replies
-
但是你可以这样传参 history.push('/library/identificationLibrary/information', record); |
Beta Was this translation helpful? Give feedback.
0 replies
-
最根本的原因是 react-route 升级到 v6 之后的 api 变更,建议新的项目使用新的写法,但是在旧的项目迁移和维护时,可以使用 umi 提供的兼容方案,配置 historyWithQuery:{} |
Beta Was this translation helpful? Give feedback.
8 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
之前再umi3里面,跳转时传参数是这么写的
在umi4里面就不能用query了。
这样改有什么好处呢
Beta Was this translation helpful? Give feedback.
All reactions