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

使用cdn方式加载antd5和@ant-design/cssinjs,动态添加的样式异常 #200

Open
leon-js opened this issue Oct 17, 2024 · 1 comment

Comments

@leon-js
Copy link

leon-js commented Oct 17, 2024

image

以下是我动过dom查询到style标签后打印的内容,发现这里多了一个 & 符号

image

带来的问题是 一部分样式失效,像这里丢失了.ant-btn-variant-solid的背景色

image image
@leon-js
Copy link
Author

leon-js commented Oct 17, 2024

我尝试在源码中去除了 & 符号
image
发现符合预期,这个问题可以帮忙看看吗
image
image

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

1 participant