How to uncheck the checkbox of iView table with js

problem description

there are restrictions when selecting a row, for example, if the current data is xx, you cannot select this row, so you want to pop up an error after selecting this row, and then uncheck it manually

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

_ checked = false is not valid. Using this.$refs.xxx.selectAll (false) can only deselect all selections and does not meet the requirements

.

what result do you expect?

you want to be able to uncheck a specific row.

Mar.12,2022

for loop


give the array an initial value _ checked, is selected and this value is changed to true, and unchecked and then changed to false.

Menu