fix 导出excel number列问题
This commit is contained in:
parent
5fbdeef347
commit
f7cb79367c
@ -1211,7 +1211,7 @@ const _sfc_main = defineComponent({
|
||||
}
|
||||
});
|
||||
if (tableColumn.type == "number") {
|
||||
info[item.key] = rowIndex + 1;
|
||||
info[tableColumn.key] = rowIndex + 1;
|
||||
}
|
||||
});
|
||||
list.push(info);
|
||||
|
@ -40038,7 +40038,7 @@ const _sfc_main$D = defineComponent({
|
||||
}
|
||||
});
|
||||
if (tableColumn.type == "number") {
|
||||
info[item.key] = rowIndex + 1;
|
||||
info[tableColumn.key] = rowIndex + 1;
|
||||
}
|
||||
});
|
||||
list.push(info);
|
||||
|
@ -469,7 +469,7 @@ const exportData = () => {
|
||||
// if (rowspan != 0 && colspan != 0) {
|
||||
// tableStr += `<td colspan=${colspan} rowspan=${rowspan}>${rowIndex + 1}</td>`;
|
||||
// }
|
||||
info[item.key] = rowIndex + 1
|
||||
info[tableColumn.key] = rowIndex + 1
|
||||
}
|
||||
});
|
||||
// tableStr += "</tr>";
|
||||
|
16
umd/index.js
16
umd/index.js
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue
Block a user