for(let i=0;self.pop2List.length>i;i++){
if(self.pop2List[i].text.indexOf("突变") !== -1){
self.pop2List[i].text = '突变'
console.log(self.pop2List[i].text)
}
for循环数组,判断text字段是否包含‘突变’二字,-1为不包含,0为包含
for(let i=0;self.pop2List.length>i;i++){
if(self.pop2List[i].text.indexOf("突变") !== -1){
self.pop2List[i].text = '突变'
console.log(self.pop2List[i].text)
}
for循环数组,判断text字段是否包含‘突变’二字,-1为不包含,0为包含