setNowMaterialType方法被无限调用,实际数组有138个元素,139开始重复打印,v-for完成后应该终止了啊? setNowMaterialType(param) {// if(this.numberIndex >139 && this.numberIndex<=200 ){// console.log(param)// }// this.numberIndex++; console.log('JJJJJJJJJJJJJJ') if (param.MaterialType === this.frstMaterialType) { return true } else { this.frstMaterialType = param.MaterialType; return false; } },
添加回答
举报
0/150
提交
取消