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

vue3+vite 在子应用菜单刷新后,切换到主应用路由菜单,主应用页面样式没加载 #697

Open
875908494 opened this issue Aug 25, 2023 · 3 comments

Comments

@875908494
Copy link

在子应用菜单刷新后,切换到主应用路由菜单,主应用页面样式没加载,审查元素发现style样式标签都没有了

1、子应用菜单刷新时,head中的元素正常
image

2、跳转到主应用菜单后,head中没有当前加载的主应用页面的style标签
image

从主应用菜单,切换到子应用菜单,主应用页面的style也会消失,再切回来,主应用的样式就没了。

@875908494
Copy link
Author

@ClarkXia 麻烦看看呢,谢谢

@ClarkXia
Copy link
Collaborator

类似 case 直接提供 demo 供排查

@SublimeCT
Copy link

SublimeCT commented Feb 3, 2024

参考 alibaba/ice#4561 (comment)
看起来跟这个问题一样, 没有加载的样式文件没有 icestark="static" 属性

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