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

fix(Grid): change default value of wrap to false to match the documentation #7652

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

Aaron-zon
Copy link
Contributor

wrap的类型为Boolean,但默认值为undefined。
测试时发现由于用wrap做判断设置是否自动换行时使用的是wrap === false,因此值为undefined时得到的结果是自动换行
,等同于默认设置了wrap=true。
现将默认值从undefined改为false,修复默认值,同时与文档保持一致。

修改前:
image
image

修改后:
image
image

@Aaron-zon Aaron-zon changed the title fix: change default value of wrap to false to match the documentation fix(Grid): change default value of wrap to false to match the documentation Jun 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant