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

同域名下使用iframe嵌入,打开Modal元素影响到主应用 #1847

Open
zhanglei1996 opened this issue Sep 26, 2024 · 0 comments
Open

Comments

@zhanglei1996
Copy link

场景描述

  1. 主应用项目A地址为,https://a.com,项目未使用choerodon-ui
  2. 子应用项目B地址为:https://a.com/rules,项目使用choerdon-ui
  3. 主应用使用iframe嵌入https://a.com/rules,页面正常打开
  4. 子应用https://a.com/rules使用Modal弹窗,将Modal挂载在主应用的元素下,也就跳出了iframe框架

请问如何通用的方式解决

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

No branches or pull requests

1 participant