var books = $.rows;var table = ;var column = ;books.forEach(function(book, index) { var row = ; column.push("territoryname"); column.push("territoryCode"); column.push("oneWater"); column.push("twoWater"); column.push("threeWater"); column.push("fourWater"); column.push("fiveWater"); column.push("sixWater"); column.push("sevenWater") column.push("eightWater") column.push("nineWater") column.push("tenWater") column.push("elevenWater") column.push("twelveWater") column.push("oneEletic"); column.push("twoEletic"); column.push("threeEletic"); column.push("fourEletic"); column.push("fiveEletic"); column.push("sixEletic"); column.push("sevenEletic") column.push("eightEletic") column.push("nineEletic") column.push("tenEletic") column.push("elevenEletic") column.push("twelveEletic") column.push("onefee"); column.push("twofee"); column.push("threefee"); column.push("fourfee"); column.push("fivefee"); column.push("sixfee"); column.push("sevenfee") column.push("eightfee") column.push("ninefee") column.push("tenfee") column.push("elevenfee") column.push("twelvefee") column.push("onehydropowerCoefficient"); column.push("twohydropowerCoefficient"); column.push("threehydropowerCoefficient"); column.push("fourhydropowerCoefficient"); column.push("fivehydropowerCoefficient"); column.push("sixhydropowerCoefficient"); column.push("sevenhydropowerCoefficient") column.push("eighthydropowerCoefficient") column.push("ninehydropowerCoefficient") column.push("tenhydropowerCoefficient") column.push("elevenhydropowerCoefficient") column.push("twelvehydropowerCoefficient") row.push(book.territoryname); row.push(book.territoryCode); if(book.year == ${beforeLast}){ for (let i = 0; i < book.waterYearList.length; i++) { row.push(book.waterYearList.waterAll); row.push(book.waterYearList.fee); row.push(book.waterYearList.elcAll); row.push(book.waterYearList.hydropowerCoefficient); } } table.push(row);});return merge(table, unique(column));最后一行报错