fix 导出excel number列问题

This commit is contained in:
Theluyuan 2023-11-03 14:15:37 +08:00
parent 5fbdeef347
commit f7cb79367c
4 changed files with 11 additions and 11 deletions

View File

@ -1211,7 +1211,7 @@ const _sfc_main = defineComponent({
} }
}); });
if (tableColumn.type == "number") { if (tableColumn.type == "number") {
info[item.key] = rowIndex + 1; info[tableColumn.key] = rowIndex + 1;
} }
}); });
list.push(info); list.push(info);

View File

@ -40038,7 +40038,7 @@ const _sfc_main$D = defineComponent({
} }
}); });
if (tableColumn.type == "number") { if (tableColumn.type == "number") {
info[item.key] = rowIndex + 1; info[tableColumn.key] = rowIndex + 1;
} }
}); });
list.push(info); list.push(info);

View File

@ -469,7 +469,7 @@ const exportData = () => {
// if (rowspan != 0 && colspan != 0) { // if (rowspan != 0 && colspan != 0) {
// tableStr += `<td colspan=${colspan} rowspan=${rowspan}>${rowIndex + 1}</td>`; // tableStr += `<td colspan=${colspan} rowspan=${rowspan}>${rowIndex + 1}</td>`;
// } // }
info[item.key] = rowIndex + 1 info[tableColumn.key] = rowIndex + 1
} }
}); });
// tableStr += "</tr>"; // tableStr += "</tr>";

File diff suppressed because one or more lines are too long