Setting font-weight to the header of table in vue + element fails

Setting font-weight bold to the header of table in

vue + element is invalid, but setting color can be

.

clipboard.png

clipboard.png

Jan.19,2022

your style is followed by ! important override try


1. First check whether the style file you are currently writing is under scope (local scope)
2. If you are not in the scope scope, check the total weight (id+class+element) of the selector where your current modified style is located
3. If the above two conditions are not, refer to the answer upstairs! important.

Menu