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

Cannot read properties of undefined (reading 'location') #908

Closed
LvZhenXiang opened this issue Sep 18, 2023 · 1 comment
Closed

Cannot read properties of undefined (reading 'location') #908

LvZhenXiang opened this issue Sep 18, 2023 · 1 comment
Labels
bug Something isn't working router solved problem solved

Comments

@LvZhenXiang
Copy link

问题描述

问题的具体描述
Cannot read properties of undefined (reading 'location')

复现步骤

1.在子应用加载完成之前主应用调用了replace

上传截图

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

复现仓库

请提供一个精简的代码仓库,然后上传到自己的 github,以帮助我们复现您的问题。

环境信息

  • micro-app版本:1.0.0-alpha.10
  • 主应用前端框架&版本:react ^18.2.0
  • 子应用前端框架&版本:react ^18.2.0
  • 构建工具&版本:
@bailicangdu bailicangdu added bug Something isn't working Working on it Working on this issue router labels Sep 18, 2023
@bailicangdu
Copy link
Member

新版本中已修复,详情参考 https://github.com/micro-zoe/micro-app/releases/tag/v1.0.0-beta.7

@bailicangdu bailicangdu added solved problem solved and removed Working on it Working on this issue labels Sep 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working router solved problem solved
Projects
None yet
Development

No branches or pull requests

2 participants