El-table style adjustment

problem description

re-encapsulate the data in the interface into the data needed in el-table. How to adjust the row height and column width? In the v-for loop data, the width of each column is the same, but how to determine the width of the column according to the width of the content, some columns are very short and some are very long (that is, the width of the column with short content is allocated less, and the width of the column with more content is allocated more). In short, you need to adjust the table style of element

.

the environmental background of the problems and what methods you have tried

related codes

/ / Please paste the code text below (do not replace the code with pictures)

what result do you expect? What is the error message actually seen?

Jan.30,2022
Menu