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

ace在多个微应用间,通过组件渲染切换,css样式丢失 #1841

Open
FrogSky opened this issue Sep 14, 2023 · 2 comments
Open

ace在多个微应用间,通过组件渲染切换,css样式丢失 #1841

FrogSky opened this issue Sep 14, 2023 · 2 comments

Comments

@FrogSky
Copy link

FrogSky commented Sep 14, 2023

reactace在多个微应用都有使用,但是通过微应用切换组件的时候,进入第二个应用中,reactace的css样式就不会重新添加了,导致第二个应用的样式错乱,看了window.ace全局挂载了的变量,在微应用卸载时候也无法清空windiw.ace

@blackshh
Copy link

我也遇到了,请问你解决了吗

reactace在多个微应用都有使用,但是通过微应用切换组件的时候,进入第二个应用中,reactace的css样式就不会重新添加了,导致第二个应用的样式错乱,看了window.ace全局挂载了的变量,在微应用卸载时候也无法清空windiw.ace

@blackshh
Copy link

在我的页面里手动引入了一下css样式解决了

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

2 participants