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

[Bug] 复制空单元格粘贴到其他单元格时会自动填充'undefined' #1298

Closed
xiaoosnggao opened this issue Mar 15, 2024 · 0 comments · Fixed by #1299
Closed

[Bug] 复制空单元格粘贴到其他单元格时会自动填充'undefined' #1298

xiaoosnggao opened this issue Mar 15, 2024 · 0 comments · Fixed by #1299
Assignees
Labels
bug Something isn't working

Comments

@xiaoosnggao
Copy link
Contributor

Version

0.21.1

Link to Minimal Reproduction

https://codesandbox.io/p/sandbox/react-vtable-forked-4g4rr2?file=%2Fsrc%2Findex.tsx%3A493%2C11-493%2C18

Steps to Reproduce

1.records的数据中某些字段不存在
2.复制不存在字段的单元格
3.粘贴到其他单元格
4.粘贴进去的内容为'undefined'

Current Behavior

img_v3_0290_00a57950-2895-4d5e-975e-99fef58dcccg

Expected Behavior

应该粘贴为空字符串

Environment

- OS:macos
- Browser:google chrome
- Framework:react@17

Any additional comments?

No response

@xiaoosnggao xiaoosnggao added the bug Something isn't working label Mar 15, 2024
@fangsmile fangsmile self-assigned this Mar 15, 2024
@fangsmile fangsmile linked a pull request Mar 15, 2024 that will close this issue
21 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants