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

nextjs 13 + antd-mobile 样式重复引入 #6234

Closed
mszsnn opened this issue Jul 5, 2023 · 1 comment
Closed

nextjs 13 + antd-mobile 样式重复引入 #6234

mszsnn opened this issue Jul 5, 2023 · 1 comment
Labels

Comments

@mszsnn
Copy link

mszsnn commented Jul 5, 2023

Version of antd-mobile

5.31.1

Operating system and its version

Others

Browser and its version

chrome 114.0.5735.133

Sandbox to reproduce

https://codesandbox.io/p/sandbox/magical-cloud-y4cm7f?file=%2Fapp%2Fdemo%2Fpage.js%3A4%2C33

What happened?

当从 index 页面点击跳转到 demo页面,demo页面的 button 样式会引入两次,已测试。antd 不会出现这个问题
image
sandbox 线上不能复现, 本地可复现, 代码一样

Relevant log output

No response

@mszsnn mszsnn added the bug label Jul 5, 2023
@miracles1919
Copy link
Contributor

我本地试了下 next: 13.4.5 还是正常的,后面的版本就会出现加载多次的问题,看起来是 nextjs 的问题

相关 issue:vercel/next.js#51030

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants