problem description
Select the multi-box in thetable and add this item to the array, but if you click not to select it, it will also be added. How to solve
the environmental background of the problems and what methods you have tried
related codes
/ / Please paste the code text below (do not replace the code with pictures)
< el-checkbox @ change= "getRow (scope.row)" VMI if = "scope.row.platformUsername" > < / el-checkbox >
getRow:function (row) {
this.nextDataArr.push({"platfromLogo":row.platfromLogo,"platformZid":row.platformZid,"userPlat formZid":row.userPlatnameWithZid[0].userPlatformZid})
},
what result do you expect? What is the error message actually seen?
error: I click, select, add data, and click not to select the array again will also add data