Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🐛asyncGetAllPlainData 自定义导出类型 customTransformer 配置 text/html 无效 #2873

Closed
1 of 5 tasks
DelMemory opened this issue Aug 22, 2024 · 1 comment · Fixed by #2865
Closed
1 of 5 tasks
Assignees
Labels
next 2.0-next 版本的问题

Comments

@DelMemory
Copy link

🏷 Version

Package Version
@antv/s2 2.0.0-next.25
@antv/s2-react 2.0.0-next.24
@antv/s2-vue

Sheet Type

  • PivotSheet
  • TableSheet
  • GridAnalysisSheet
  • StrategySheet
  • EditableSheet

🖋 Description

在进行自定义复制配置时发现该问题,无论如何修改,都无法改变复制后的结果

可直接使用官方实例复现

⌨️ Code Snapshots

🔗 Reproduce Link

https://s2.antv.antgroup.com/api/components/export#exportcfgprops

该链接为提供的官网链接,未修改代码,仅作参考

image

请使用 CodeSandbox 查看,官网的dom无法展示按钮,需要修改一下

🤔 Steps to Reproduce

请使用上面的链接查看代码

install react react-dom 可展示页面

image

修改版本,否则会报 asyncGetAllPlainData 不存在

image

放开 customTransformer 的注释
点击全部复制按钮
在飞书、语雀等文档中粘贴,会输出文本,按文档描述,应该输出的是空表格

image

经过多轮测试,无论传入什么参数,都会输出一模一样的文本

😊 Expected Behavior

应该输出空表格

😅 Current Behavior

💻 System information

Environment Info
System macOS Ventura 13.4.1
Browser Chrome 127.0.6533.100(正式版本) (arm64)
@github-actions github-actions bot added the next 2.0-next 版本的问题 label Aug 22, 2024
@lijinke666 lijinke666 self-assigned this Aug 22, 2024
@lijinke666
Copy link
Member

text/html 还不支持全量导出场景, 文档有误导, #2865

#2828

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
next 2.0-next 版本的问题
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants