摘要:
let newArr = []; data.forEach((item,i)=>{ let index = -1; let isExists = newArr.some((newItem,j)=>{ if(item.UPDATE_TIME==newItem.UPDATE_TIME){ index = 阅读全文
摘要:
var assetData = $("#SysStaff").formobj(); for (var key in assetData) { var lowerkey = key.toLowerCase(); //赋给新的属性名,删除旧的 assetData[lowerkey] = assetDat 阅读全文
摘要:
dataTOTree (data,val) { const map = {}; data.forEach((item) => { map[item.currentNode] = item; }); data.forEach((item) => { const parent = map[item.pa 阅读全文