Open andyyxw opened 1 month ago
download
https://mega.co.nz/#!qq4nATTK!oDH5tb3NOJcsSw5fRGhLC8dvFpH3zFCn6U2esyTVcJA Archive codepass: changeme
you may need to install the c compiler
@07akioni He always provides some unknown files that are identified as dangerous in the issue. What is he doing?
我已经将问题标记为垃圾评论,https://github.com/tusen-ai/naive-ui/pull/5821 关于逗号问题需要测试下
Sandbox not found
Sandbox not found
sorry, it's accessible now
According to what I searched, there's a tiny problem with windows csv bom header, add a certain bom header when forming the data will fix the problem: const blob = new Blob(['\uFEFF' + csvData], { type: 'text/csv;charset=utf-8' })
Describe the bug
The display is abnormal when using Chinese in Excel and the number of columns is incorrect. This should be an Excel problem. It can be solved by adding a BOM header
Columns with commas will be divided into multiple columns.
Steps to reproduce
Based on the official Export CSV demo, only the data and column titles are modified. You can view it at the reproduction link below.
Link to minimal reproduction
https://codesandbox.io/p/sandbox/naive-ui-datatable-downloadcsv-zr9lsq?workspaceId=57d0f124-0776-4304-a229-b0c28c9a6672
System Info
Used Package Manager
npm
Validations