也就不赘述有的没的,看代码↓
1、通过reduce()方法进行去重
this.pageDataList = this.pageDataList.reduce((tempArr, item) => {
if ( tempArr.findIndex( (ele) => ele.businessSettleManageId === item.businessSettleManageId ) === -1 ) {
tempArr.push(item);
}
return tempArr;
}, []);
日常更新
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)