problem description
the environmental background of the problems and what methods you have tried
before, i=i-1 was not written in if. After the second cycle, the deletion prompt will break and stop running.
after writing the i=i-1, you can continue to run
related codes
/ / Please paste the code text below (do not replace the code with pictures)
var p=this.propertylistIn.length
var pt = this.propertylistIn
for (var i =0 ; i<p;iPP){
if(pt[i].pkPropertyOwnerId==w){
pt.splice(i,1)
i=i-1
}
}
this.propertylistIn=pt
what result do you expect? What is the error message actually seen?
how to solve this error