<a-upLoad>连报三错
[Vue warn]: Invalid prop: custom validator check failed for prop "fileList".
[Vue warn]: Invalid prop: custom validator check failed for prop "items".
[Vue warn]: <transition-group> children must be keyed: <div>
后面两条真是无迹可寻,ctrl+F都没找出items和<transition-group>
最后解决了第一条后面两条也没了:
<a-upload name="file" :before-upload="beforeUpload" list-type="picture" :multiple="false" :fileList="downloadFiles" :remove="handleDownloadFileRemove" :customRequest="downloadFilesCustomRequest">
a-upload绑定的fileList里有一个uid错误的取到了undefined导致的,取到正常的uid后就不报错了。