Ant-design-vue: Upload组件的问题

Created on 2 Jul 2018  ·  5Comments  ·  Source: vueComponent/ant-design-vue

  • [x] I have searched the issues of this repository and believe that this is not a duplicate.

Version

0.6.5

Environment

WIN7 X64 Chrome 67

Reproduction link

example

Steps to reproduce

这个是官网给的例子,手动上传的,首先,选择一个文件,控制台会报两个错误
Invalid prop: custom validator check failed for prop "fileList".
Invalid prop: custom validator check failed for prop "items".
如果删除这个文件的话,没法删除,控制台会报
Error in event handler for "remove": "TypeError: Cannot read property 'fileList' of undefined"

What is expected?

请尽快修复这个问题

What is actually happening?

官网给的例子,只要设置了beforeUpload这个属性,选择文件都会报
Invalid prop: custom validator check failed for prop "items".
至于那个fileList的问题,是最后一个官网例子出错的

Most helpful comment

All 5 comments

@wangxueliang

+1 遇到一样的报错,希望尽快修复,谢谢

这么快修复了,点赞!

This thread has been automatically locked because it has not had recent activity. Please open a new issue for related bugs and link to relevant comments in this thread.

Was this page helpful?
0 / 5 - 0 ratings