</el-table-column> </el-table> computed: { columnData() { return this.tableData.reduce((pre, cur, index) => pre.concat(`value${index}`), ['title']) }, tableDataNew() { return this.tableHead.map(item => { return this.tableData.reduce((pre, cur, index) => Object.assign(pre...
app.quit() # 转置一个工作表的行列 import xlwings as xw app = xw.App(visible=False, add_book=False) workbook = app.books.open('产品分析表.xlsx') worksheet = workbook.sheets[0] data = worksheet.range('A1').expand('table').options(transpose=True).value worksheet.clear() worksheet.range...