We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
采用缓存的的方案实现多页签(参考#361),但是遇到了一个很奇怪的问题,主应用有个路由c,子应用有两个路由a,b,a路由跳转到b,切换到路由c,再回到b页签,再关闭b页签回到a,再从a跳转到b,这个时候会发现this.$router.push({name:'b',params:{'a':'1'}})的params丢失了,获取不到,子应用所有的push的params都是无法获取到的
Describe the solution you'd like, better to provide some pseudo code.
vue2.6 vue-router3.6.5
The text was updated successfully, but these errors were encountered:
#361貌似还有一个缓存问题,复现步骤:
这个问题和你描述的问题有些类似
同问,是不是有比较完美的解决方案
Sorry, something went wrong.
No branches or pull requests
Background
采用缓存的的方案实现多页签(参考#361),但是遇到了一个很奇怪的问题,主应用有个路由c,子应用有两个路由a,b,a路由跳转到b,切换到路由c,再回到b页签,再关闭b页签回到a,再从a跳转到b,这个时候会发现this.$router.push({name:'b',params:{'a':'1'}})的params丢失了,获取不到,子应用所有的push的params都是无法获取到的
Proposal
Describe the solution you'd like, better to provide some pseudo code.
Additional context
vue2.6
vue-router3.6.5
The text was updated successfully, but these errors were encountered: