-
Notifications
You must be signed in to change notification settings - Fork 584
New issue
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
基座下跳转不同的嵌套了子应用的页面,在返回上一页时会地址栏展示不正确,导致渲染错误 #941
Comments
Hello @hengwuming. In order to facilitate location and troubleshooting, we need you to provide a realistic GitHub repository. |
理论上存在这种可能,能提供个复现的demo吗 |
好的,晚上下班了,我尝试写个demo能不能复现 |
|
Since the issue was labeled with |
有个报错忘记贴了,抱歉抱歉 index.js:1 [micro-app] app sub-xxxx-xxxxx: an error occurred in the unmount function |
目前子应用一旦渲染是不可暂停的,但确实存在渲染到一半被卸载的情况,对于这个问题我们会进行修复 |
问题描述
复现步骤
1.基座下存在a,b两个页面,b页面存在一个按钮,点击事件为this.$router.back(),均嵌套了子应用
2.在a页面跳转到b页面时,在页面内容加载时,一直点击b页面的按钮,能回退到a页面,但是地址栏会在进入一瞬间展示正确的地址,然后变成b页面的地址,此时需要将子应用延迟加载,否则会正常渲染。在a页面打印this.$route.path为a的地址,但是地址显示为b的地址。
3.在所有生命周期钩子打印,均正常执行,error钩子未执行
上传截图
复现仓库
环境信息
The text was updated successfully, but these errors were encountered: