无法在 ExcelJS 中打开导出的 excel 文件

问题描述

我在我的 JS 项目中使用了 ExcelJS 库。它适用于英文字母。但是,如果我将应用程序语言更改为 法语 并将内容导出为 Excel 表格。然后下面提到的错误来了。任何人都知道导致此问题的原因以及解决方案?

enter image description here

解决方法

在我的场景中,我使用 ExcelJS 使用我的 fin-hypergrid 表转换/创建一个 excel 文件。导致此问题的原因是在我的 fin-hypergrid 表中,我有两列同名。然后 excelJS 会在列名的末尾添加未知字符。这就是导致上述错误的原因。

相关问答

错误1:Request method ‘DELETE‘ not supported 错误还原:...
错误1:启动docker镜像时报错:Error response from daemon:...
错误1:private field ‘xxx‘ is never assigned 按Alt...
报错如下,通过源不能下载,最后警告pip需升级版本 Requirem...