vue2.7版本将window对象加了proxy,导致部分判断出现错误
- Dominant language
- Vue
- Stars
- 54k
- Forks
- 14.4k
- PR merge metrics
- No merged PRs in 30d
Description
(https://github.com/ElemeFE/element/blob/v2.15.13/src/utils/popper.js)
再此文件1060行出现代码 if (parent === root.document) {
此代码在vue2.7时,恒不相等,因为root.document为proxy对象
会导致代码错误,ui从而出现问题
望速回复,或提供解决方案!!
效果图:

源码图:

断点图:

示例图:

Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.