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