[Vuejs]-Sortable not working in el-table-column with checkbox

1👍

So basically the DOM isn’t changed so Vue doesn’t recognize the change. To give Vue a hint so that it can track each node’s identity, and thus reuse and reorder existing elements, you need to provide a unique key attribute for each item. In case of element ui table you should fill the row-key attribute. Which is listed in table-atributes

Adding the row-key will solve your challenge

An alternative way to make it work is replacing the :checked by v-model. but still it’s good to provide the row-key

Leave a comment