倒叙数组查找数组对象中是否有该id值,将其去掉
倒叙查找,把没找到的删掉
showData=['125','456,'789','152'']
editionSelectVal = [
{
id:'125',
name:'你好啊你好啊你好啊'
},{
id:'1584',
name:'你好啊你好啊你好啊'
}
]
倒叙查找,把没找到的删掉
showData=['125','456,'789','152'']
editionSelectVal = [
{
id:'125',
name:'你好啊你好啊你好啊'
},{
id:'1584',
name:'你好啊你好啊你好啊'
}
]