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

使用IE无法打开子应用,官方demo同样不行 #945

Closed
ImKZhu opened this issue Dec 30, 2024 · 3 comments
Closed

使用IE无法打开子应用,官方demo同样不行 #945

ImKZhu opened this issue Dec 30, 2024 · 3 comments

Comments

@ImKZhu
Copy link

ImKZhu commented Dec 30, 2024

描述bug
IE浏览器(Edge/10/9),wujie版本1.0.22,使用degrade,发现我们项目跑起来主应用会报错,子应用打不开——
"TypeError: 无法设置未定义或 null 引用的属性“__WUJIE”
如下图:
20241230103319

于是乎使用官方demo跑起,发现同样报错,如下图:
20241230102929

请问怎么解决?

如何复现
给出详细的复现步骤
1、第一步:使用官方demo,/examples/main-vue/,安装babel-polyfill并在main.js import它,跑起;
2、 第二步:子应用/examples/vue2/,安装babel-polyfill并在main.js import它,跑起;
3、第三步:打开页面,并选择vue2菜单。

最小复现仓库或者地址
https://github.com/Tencent/wujie/tree/master/examples/

@chengkai2022
Copy link

现在还要支持IE,不太现实

@gt-renshengjin
Copy link

啥年代了...

@ImKZhu
Copy link
Author

ImKZhu commented Jan 15, 2025

硬生生自己写了一套代码转为iframe...

@ImKZhu ImKZhu closed this as completed Jan 15, 2025
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

3 participants