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

微应用加载ng-zorro-antd-tree报错 #2495

Closed
miaomiao9527 opened this issue May 11, 2023 · 2 comments · Fixed by #2503
Closed

微应用加载ng-zorro-antd-tree报错 #2495

miaomiao9527 opened this issue May 11, 2023 · 2 comments · Fixed by #2503

Comments

@miaomiao9527
Copy link

miaomiao9527 commented May 11, 2023

What happens?

主微应用均为Angular15,
ng-zorro-antd版本:"ng-zorro-antd": "^15.1.0",
qiankun版本:"qiankun": "^2.10.6"。
使用了nz-tree组件,微应用单独运行可以正常显示树形结构,且无报错。
在主应用运行后,报错:
image
树形结构还可以正常创建,但是树形节点的title不能正常添加
image
image

Mini Showcase Repository(REQUIRED)

Provide a mini GitHub repository which can reproduce the issue.

How To Reproduce

Steps to reproduce the behavior: 1. 2.

Expected behavior 1. 2.

Context

  • qiankun Version:
  • Platform Version:
  • Browser Version:
@miaomiao9527
Copy link
Author

miaomiao9527 commented May 16, 2023

#2408 是类似的问题,也存在弹出层定位不准确的问题,#2408 (comment) 参照这条comment,考虑是2.10.x 子应用Dcoument被代理后,compareDocumentPosition对比Node失败。版本回退到2.9.x问题就不存在了,希望可以优化一下。

@github-actions
Copy link

Hello @miaomiao9527. In order to facilitate location and troubleshooting, we need you to provide a realistic example. Please forking these link codesandbox or clone qiankun examples to your GitHub repository.

你好 @miaomiao9527, 为了方便定位和排查问题,我们需要你提供一个重现实例,请提供一个尽可能精简的链接 codesandbox 或直接 clone qiankun examples,并上传到你的 GitHub 仓库。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants