S2 icon indicating copy to clipboard operation
S2 copied to clipboard

🐛 交叉表 在某些特殊数据下,cv复制出的数据不对

Open feEden opened this issue 3 years ago • 1 comments

🏷 Version

Package Version
@antv/s2 1.39.1
@antv/s2-react -
@antv/s2-vue -

Sheet Type

  • [x] PivotSheet
  • [ ] TableSheet
  • [ ] GridAnalysisSheet
  • [ ] StrategySheet
  • [ ] EditableSheet

🖋 Description

交叉表开启复制功能,同时开启了copyWithHeader,发现:

  1. 在rows 存在时间类型时,时间会被截取
  2. 在columns存在数字类型时,copyWithHeader 失效
  3. 其他正常

⌨️ Code Snapshots

https://codesandbox.io/s/charming-volhard-8gxrp1?file=/index.ts

🔗 Reproduce Link

🤔 Steps to Reproduce

😊 Expected Behavior

image 行列数据跟表格数据展示一致

😅 Current Behavior

8	2021	127	0
8	2021	82	0
8	2021	67	0
8	2021	135	0
8	2021	61	0
8	2021	27	0
0	2021	0	0
0	2021	144	0
(null)	2021	10	0
14	2021	49	0

当前复制出来的数据,行时间相关的数据被截去了,而且我开启了copyWithHeader, 但是并没有复制出来

💻 System information

Environment Info
System Intel Mac OS X 10_15_7
Browser Google 108.0.5359.124

feEden avatar Dec 27 '22 11:12 feEden

你好 @feEden,经过我们的反复讨论, 你的需求现已被采纳, 我们会排期开发, 但人力资源有限, 短期内无法支持, 请关注后续发布日志。当然, 如果能贡献 PR 帮助我们改进, 不胜感激!

Hello, @, your feature request has been accepted after our repeated discussion. We will schedule the development. However, it could not be supported in the short term since limited time, please pay attention to the follow-up release logs. Of course, looking forward for your PR!

github-actions[bot] avatar Jan 09 '23 08:01 github-actions[bot]