ElemeFE / element

A Vue.js 2.0 UI Toolkit for Web
https://element.eleme.io/
MIT License
54.13k stars 14.63k forks source link

[bug report] after defining the theme color, the downloaded compressed package CSS was repeated five times, resulting in the large size of the CSS #21110

Open web-whj opened 3 years ago

web-whj commented 3 years ago

Element UI version

2.15.3

OS/Browsers version

widow/Google/ 83.0.4103.116

Vue version

2.6.14

Reproduction Link

https://codepen.io/this is Fake link

Steps to reproduce

open https://element.eleme.io/#/zh-CN/theme/preview Set theme color Click download Open CSS to view el-button,el-input ……………… Repeat 5 times

What is Expected?

No duplicate style after download

What is actually happening?

No duplicate style after download

element-bot commented 3 years ago

Translation of this issue:

Element UI version

2.15.3

OS/Browsers version

widow/Google/ 83.0.4103.116

Vue version

2.6.14

Reproduction Link

https://codepen.io/this is Fake link

Steps to reproduce

open https://element.eleme.io/#/zh -CN/theme/preview

Set theme color Click download

Open CSS to view el-button,el-input ……………… Repeat 5 times

What is Expected?

No duplicate style after download

What is actually happening?

No duplicate style after download