Skip to content
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

React umi项目 子应用跳转子应用 microApp-body节点会重新刷新,导致上个路由页面的antd的message被干掉(这是message节点挂在microApp-body节点下),跳转到下个页面后就看不见message提示了 #1295

Closed
xuli-cooly opened this issue Jul 12, 2024 · 4 comments
Labels
Need Reproduction 需要复现步骤

Comments

@xuli-cooly
Copy link

问题描述

React umi项目 子应用跳转子应用 microApp-body节点会重新刷新,导致上个路由页面的antd的message被干掉(这是message节点挂在microApp-body节点下),跳转到下个页面后就看不见message提示了

复现步骤

上传截图

请上传代码截图、控制台、终端等截图以帮助我们了解您的问题。

环境信息

  • micro-app版本:
  • 主应用前端框架&版本:
  • 子应用前端框架&版本:
  • 构建工具&版本:
@bailicangdu bailicangdu added the Need Reproduction 需要复现步骤 label Jul 12, 2024
Copy link

Hello @xuli-cooly. In order to facilitate location and troubleshooting, we need you to provide a realistic GitHub repository.
您好 @xuli-cooly, 为了方便定位和排查问题,我们需要您提供一个重现实例,请提供一个尽可能精简的 GitHub 仓库地址。

@xuli-cooly
Copy link
Author

20240715-154518

@xuli-cooly
Copy link
Author

单个子应用内的每次路由跳转都会卸载当前子应用,导致micro-app-body 卸载重新mount,导致这个ant-message节点被干掉

Copy link

Since the issue was labeled with Need Reproduction, but no response in 7 days. This issue will be close. If you have any questions, you can comment and reply.
由于该 issue 被标记为需要可复现步骤,却 7 天未收到回应。现关闭 issue,若有任何问题,可评论回复。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Need Reproduction 需要复现步骤
Projects
None yet
Development

No branches or pull requests

2 participants