Skip to content

fix: adapter.ts/updateElementInfo当a标签configurable为false导致的bug #1528

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

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

Conversation

252352801
Copy link

【bug修复】
修复了一个bug,该bug导致嵌套3层vue页面的场景下(应用a>应用b>应用c),当被嵌套的第3层页面包含a标签时无法正常加载。
【bug原因】
vue2会将a标签href属性的属性描述符configurable设为false。相关代码(adapter.ts/updateElementInfo)在调用rawDefineProperties前未作判别

问题描述

在3层嵌套vue页面场景下(应用a>应用b>应用c),当应用c页面包含a标签时,无法加载应用c,应用c页面空白。

复现步骤

1.应用a加载应用b,应用b加载应用c,3个应用均为vue2项目
2.应用c被加载页面包含a标签(无a标签时表现正常)

上传截图

image

复现仓库

https://github.com/252352801/microApp_href_defineProperties_bug

环境信息

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