antd-form-mate icon indicating copy to clipboard operation
antd-form-mate copied to clipboard

feat: matchFileItem

Open Kimbohn opened this issue 5 years ago • 2 comments

fix: setValue

Kimbohn avatar Aug 16 '20 03:08 Kimbohn

不用这么复杂吧,你完全可以在 https://github.com/zpr1g/antd-form-mate/blob/5.x-stable/src/utils/setValue.ts#L71 为 fileList 赋值为 value 就好了,不用检查了。既然要自己传数组了,那就说明用户知道怎么传了。另外,你应该合并到 5.x-stable 分支,master 我还在重构呢。

yunsii avatar Aug 17 '20 01:08 yunsii

不用这么复杂吧,你完全可以在 https://github.com/zpr1g/antd-form-mate/blob/5.x-stable/src/utils/setValue.ts#L71 为 fileList 赋值为 value 就好了,不用检查了。既然要自己传数组了,那就说明用户知道怎么传了。另外,你应该合并到 5.x-stable 分支,master 我还在重构呢。

好的

Kimbohn avatar Aug 17 '20 02:08 Kimbohn