Skip to content

按原始数据导出 xlsx,表头为列 field 而不是 title #2953

@MoMoOwO

Description

@MoMoOwO

可复现的链接(必须为公开链接,仅包含能复现问题的示例代码):

https://vitejsvitedmprcr-5edy--5173--6ba59070.local-corp.webcontainer.io

是否已准备好复现链接与示例代码?

  • 我确定已准备好以上复现链接

问题描述与截图:

vxe-table v4.12+ 配合 vxe-table-plugin-export-xlsx v4.0.7 导出 xlsx 时,如果 export-config 设置 original: true,到处原始数据,xlsx 表头为列 field 而不是 title。导出 csv、txt 表头正常为列 title。链接可能无法复现,因为没有安装vxe-table-plugin-export-xlsx

期望的结果:

导出xlsx 表头为列title

操作系统:

window 10

浏览器版本:

chrome 99

vue 版本:

3.5

vxe-pc-ui 版本:

4.6

vxe-table 版本:

4.12

是否使用当前最新版本?

  • 我确定已经更新到最新版本后依然存在该问题

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions