ant-design-vue icon indicating copy to clipboard operation
ant-design-vue copied to clipboard

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

Open Aaron-zon opened this issue 1 year ago • 3 comments
trafficstars

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

修改前: image image

修改后: image image

Aaron-zon avatar Jun 14 '24 01:06 Aaron-zon

This PR is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 7 days

github-actions[bot] avatar Aug 14 '24 02:08 github-actions[bot]

1

Aaron-zon avatar Aug 14 '24 09:08 Aaron-zon

This PR is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 7 days

github-actions[bot] avatar Oct 14 '24 02:10 github-actions[bot]