连报三错

[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>连报三错

 

 

 最后解决了第一条后面两条也没了:

<a-upload name="file" :before-upload="beforeUpload" list-type="picture" :multiple="false"
                :fileList="downloadFiles" :remove="handleDownloadFileRemove"
                :customRequest="downloadFilesCustomRequest">

 <a-upLoad>连报三错

 

 

a-upload绑定的fileList里有一个uid错误的取到了undefined导致的,取到正常的uid后就不报错了。
上一篇:git checkout 遇到的问题 Git-命令行-拯救“Your local changes to the following files would be overwritten by chec


下一篇:使用时间戳和sequence生成主键的function