el-descriptions Custom label to modify border style border

Let’s look at the renderings first:

Only modify the style effect of the label, the unmodified one is white and gray

 

 Full modification effect

 Don’t talk nonsense, just go to the code example. Like it if it’s useful, thank you~~~

 

This is only adding one. In the legend, if it is added to rowCenter alone, the other part is modified. If it is added to both sides, it is the second situation in the above legend.

 

Guess you like

Origin blog.csdn.net/finallyideas/article/details/132066445