摘要:
//重新向新的数组里面塞值 function renderListValue(arr, newarr) { for (let i = 0; i < arr.length; i++) { let obj = {} if (arr[i].leaf == true) { obj.budgetAmount 阅读全文
摘要:
//百分比计算 function GetPercent(num, total) { num = parseFloat(num); total = parseFloat(total); if (isNaN(num) || isNaN(total)) { return 0; } return total 阅读全文