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

refactor: adjust documentElement range #1076

Open
wants to merge 3 commits into
base: dev
Choose a base branch
from

Conversation

raoenhui
Copy link
Member

问题:

重复插入,且插入到了父应用
复现: 多次点击一分白拿
可能原因:document.documentElement.insertBefore代理劫持失败,所以导致了插入到了主应用,而document.getElementById是劫持成功的,搜索范围只在子应用范围

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.

None yet

2 participants