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

BasicButton组件样式加载重复且样式热更新无效 - 比如,定义class=“ml-2”,编译后浏览器查看dom会出现class="ml-2 ml-2",详见截图 #1013

Closed
3 tasks done
urfreespace opened this issue Jul 31, 2021 · 1 comment

Comments

@urfreespace
Copy link

urfreespace commented Jul 31, 2021

⚠️ IMPORTANT ⚠️ Please check the following list before proceeding. If you ignore this issue template, your issue will be directly closed.

  • Read the docs.
  • Make sure the code is up to date. (Some bugs have been fixed in the latest code)
  • This is a concrete bug. For Q&A open a GitHub Discussion or join our Discord Chat Server.

Describe the bug

样式加载重复 - 比如,定义class=“ml-2”,编译后浏览器查看dom会出现class="ml-2 ml-2",见下图:

image

Reproduction

Please describe the steps of the problem in detail to ensure that we can restore the correct problem

System Info

  • Operating System:
  • Node version:
  • Package manager (npm/yarn/pnpm) and version:
@urfreespace urfreespace changed the title 1. 样式加载重复 - 比如,定义class=“ml-2”,编译后浏览器查看dom会出现class="ml-2 ml-2",详见截图 样式加载重复 - 比如,定义class=“ml-2”,编译后浏览器查看dom会出现class="ml-2 ml-2",详见截图 Jul 31, 2021
@urfreespace
Copy link
Author

urfreespace commented Jul 31, 2021

I made a PR to fix this: #1016

@urfreespace urfreespace changed the title 样式加载重复 - 比如,定义class=“ml-2”,编译后浏览器查看dom会出现class="ml-2 ml-2",详见截图 BasicButton组件样式加载重复且样式热更新无效 - 比如,定义class=“ml-2”,编译后浏览器查看dom会出现class="ml-2 ml-2",详见截图 Jul 31, 2021
@anncwb anncwb closed this as completed Aug 1, 2021
@github-actions github-actions bot locked and limited conversation to collaborators Sep 15, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants