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

fix: 当子应用location.replace到其他域名时,改为渲染到另一个iframe中 #575

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Xusenbiao
Copy link
Contributor

  • 提交符合commit规范
  • npm run test通过
详细描述

目前,当子应用通过location.replace跳转其他域名地址,新地址下的内容会在主应用的同域iframe中加载,创建的节点也会插到同域iframe中,shadowDom中则依然是跳转前的子应用内容,无法正常交互。

此提交针对这种场景,将子应用自动转到一个新的iframe中加载,确保子应用显示及交互正常。

  • 特性
  • 关联issue

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

Successfully merging this pull request may close these issues.

1 participant