the element-ui el-table (interlaced color change, echo box)

1. interlaced color change

 

  • el-table plus attribute change, then operation of the method

 

 

 

  • After adding color

 

 

 

 

 2. box Echo

a: the case of table data is not dynamically loaded, before the table is automatically selected selected

b: tabular data is obtained dynamically, based on the need to carry out significant return line

 

 Principle: Take been selected before storing good data to match a particular attribute of a row in the table, two on the array object can be matched, will echo the success of the table.

Guess you like

Origin www.cnblogs.com/yxkNotes/p/11584656.html