elementUi + vue checkbox checked and cancel the state to make a column in the table show hidden

 

 

Record yourself stepped pit, control a column in the table show the hidden element can not be used v-show, but to use v-if

Specific online Baidu a look at the difference between v-show and v-if it

Guess : Because el-table-column will generate a multi-line label element, according to v-show template syntax is not supported, concluded that v-show display can not hide multiple elements

 

Guess you like

Origin www.cnblogs.com/chr506029589/p/11121607.html