How does element-ui table delete and change the rows selected by the multi-check box?

The

style has not changed, please ignore =
that is, I delete the checked
whether to use scope.$ index, it doesn"t feel right, whether checkbox is selected or not is not related to index, or we have to traverse the data to judge. Do you feel so troublesome?

Mar.06,2021

use the selection-change listening option to change, then assign the parameter selection to a variable in data, and empty the variable when you delete it.

Menu