vueComponent/ant-design-vue

grid文档错误

wx-11 opened this issue · 1 comments

wx-11 commented
  • I have searched the issues of this repository and believe that this is not a duplicate.

Version

4.2.1

Environment

最新

Reproduction link

https://www.antdv.com/components/grid-cn#api:~:text=space%2Dbetween%20%7C-,space%2Devenly,-%7C%20%7B%5Bkey%20in

Steps to reproduce

使用 <a-row justify="space-around" align="middle">正常 但是改成evenly无效 当然我可以通过其他css属性设置

What is expected?

支持space-evenly或者取消文档说明

What is actually happening?

space-evenly没有效果


我观察了到 #5352 曾经pr过 evenly的支持。但是没被接受,但是文档却有evenly的支持说明api,我一度以为是我打错单词或者不规范,折腾半个多小时,才发现是文档错误。请修复这个问题,防止用户误解,像这样显示支持的属性即可:https://arco.design/vue/component/grid#flex:~:text=%27start%27%20%7C%20%27center%27%20%7C%20%27end%27%20%7C%20%27space%2Daround%27%20%7C%20%27space%2Dbetween%27

wx-11 commented
wrap | 是否自动换行 | boolean | false -- | -- | -- | --

这个实测 默认值是true 不设置也是true 而不是false