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

with沙箱子系统错误无法捕获,window.onerror和window.addEventListener('error')均不响应 #1412

Open
lxly opened this issue Oct 17, 2024 · 1 comment
Assignees
Labels
Working on it Working on this issue

Comments

@lxly
Copy link

lxly commented Oct 17, 2024

问题描述

问题的具体描述

复现步骤

1、基座和子应用分别增加错误捕获代码
2、子应用抛出错误,基座和子应用均未捕获到

上传截图

请上传代码截图、控制台、终端等截图以帮助我们了解您的问题。
基座代码main.js

微信图片_20241017095431

子应用代码main.js
微信图片_20241017095437

控制台报错
微信图片_20241017094200

复现仓库

请提供一个精简的代码仓库,然后上传到自己的 github,以帮助我们复现您的问题。
https://github.com/lxly/micro-app-bug-demo/tree/main

环境信息

  • micro-app版本:1.0.0-rc.12
  • 主应用前端框架&版本:vue@^3.4.29
  • 子应用前端框架&版本:vue@^2.6.14
  • 构建工具&版本:主应用vite@^5.3.1,子应用@vue/cli-service@~5.0.0
@timhub66 timhub66 self-assigned this Nov 4, 2024
@Agarics
Copy link

Agarics commented Nov 6, 2024

+1

@timhub66 timhub66 added the Working on it Working on this issue label Nov 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Working on it Working on this issue
Projects
None yet
Development

No branches or pull requests

3 participants