数组
list: [
{
"appInfoList": [{"appName": "123132123"}]
}
]
执行代码
let that = this;
let arr = [];
this.list.filter(function(item, index, value) {
let a = item.appInfoList.filter(function(item1) {
if (item1.appName.includes(that.value)) {
return item;
}
})
a.forEach(item => {
arr.push(item)
})
});
this.showData = arr;