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

iview-Modal组件 自定义指令涉及 document.body instanceof window.Node 判断为false,导致报错 #930

Open
xiaobai-web715 opened this issue Dec 3, 2024 · 0 comments

Comments

@xiaobai-web715
Copy link

xiaobai-web715 commented Dec 3, 2024

描述bug
document.body instanceof window.Node 判断为false,导致 document.querySelector() 传入body对象作为入参,报错。目前感觉是子应用闭包将window修改成window.__WUJIE.proxy导致的

错误截图

image
image
image

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