修改自定义报表

This commit is contained in:
GGJ
2024-06-03 13:32:09 +08:00
parent c7025c615f
commit a82e38df4c
2 changed files with 12 additions and 2 deletions

View File

@@ -96,6 +96,11 @@ const tableStore = new TableStore({
},
loadCallback: () => {
console.log(tableStore.table.data)
tableStore.table.data.forEach((item: any) => {
item.celldata.forEach((k: any) => {
item.data[k.r][k.c].v = k.v
})
})
luckysheet.create({
container: 'luckysheet',
title: '', // 表 头名