Skip to content

三层嵌套vue项目时报错:Cannot redefine property: href #1549

Description

@252352801

问题描述

问题的具体描述
在3层嵌套vue页面场景下(应用a>应用b>应用c),当应用c页面包含a标签时,无法加载应用c,应用c页面空白。
浏览器console报错:Cannot redefine property: href

复现步骤

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

上传截图

Image

复现仓库

https://github.com/252352801/microApp_href_defineProperties_bug

环境信息

micro-app版本:1.0.0-rc.20
主应用前端框架&版本:vue@^2.6.14
子应用前端框架&版本:vue@^2.6.14
构建工具&版本:node@16.20.2,yarn@1.22.19


ps:已针对该问题提交一个pr:#1528

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

fixedIssue fixed

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions