umijs / qiankun

📦 🚀 Blazing fast, simple and complete solution for micro frontends.
https://qiankun.umijs.org
MIT License
15.77k stars 2.01k forks source link

🥔chore: css process exclude option selector #2917

Open ziluo-tang opened 7 months ago

ziluo-tang commented 7 months ago

开启sandbox BEM样式隔离时存在一个bug,style中的属性选择器会被打乱。例如 ![Uploading image.png…]()

changeset-bot[bot] commented 7 months ago

⚠️ No Changeset found

Latest commit: 1d6c499e91949f9af90580a1ddd6cd45b91c60fe

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

vercel[bot] commented 7 months ago

Someone is attempting to deploy a commit to a Personal Account owned by @umijs on Vercel.

@umijs first needs to authorize it.

kuitos commented 7 months ago

加个单测?

kuitos commented 7 months ago

截图没传上来

ziluo-tang commented 7 months ago

加个单测?

属性选择器里存在","的情况,如div[data-layout-col-key="row0,col0"] { padding-left: 20px; }; 样式会被处理成div[data-qiankun="dynamic-app1"] div[data-layout-col-key="row0,div[data-qiankun="dynamic-app1"] col0"] { padding-left: 20px; };

ziluo-tang commented 7 months ago

截图没传上来

1709208869099