This commit is contained in:
Theluyuan 2023-11-03 14:10:53 +08:00
parent f0e8f6d076
commit 5fbdeef347
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.number = rowIndex + 1; info[item.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.number = rowIndex + 1; info[item.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.number = rowIndex + 1 info[item.key] = rowIndex + 1
} }
}); });
// tableStr += "</tr>"; // tableStr += "</tr>";

File diff suppressed because one or more lines are too long