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] 自定义布局方法value不应处理默认值 #1949

Open
creasy2010 opened this issue Jun 19, 2024 · 2 comments
Open

[Bug] 自定义布局方法value不应处理默认值 #1949

creasy2010 opened this issue Jun 19, 2024 · 2 comments
Assignees
Labels
bug Something isn't working

Comments

@creasy2010
Copy link
Contributor

Version

1.3.2

Link to Minimal Reproduction

0.23.3

Steps to Reproduce

当自定义渲染时,应该自定义渲染逻辑中处理默认值,
此处处理遇到 false 0 等值就出问题了;

image

Current Behavior

value: table.getCellValue(col, row) || ''

Expected Behavior

value:table.getCellValue(col, row)

Environment

- OS: mac
- Browser: chrome
- Framework: react+vite

Any additional comments?

No response

@creasy2010 creasy2010 added the bug Something isn't working label Jun 19, 2024
@fangsmile
Copy link
Contributor

可提pr修改 @creasy2010

@creasy2010
Copy link
Contributor Author

ok

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

No branches or pull requests

2 participants