export default {
data(){
return {
arr1:[
{"aa":1,"aaa":"第一个"},
{"aa":2,"aaa":"第二个"},
{"aa":3,"aaa":"第三个"}
],
dd:[]
}
},
methods:{
cr:function(){
for(var i =0; i
if(this.arr1[i].aa==1 || this.arr1[i].aa==2){
var newdata = this.arr1[i].aaa.concat(this.dd);
console.log(newdata)
}
}
}
}
}