-
-
Notifications
You must be signed in to change notification settings - Fork 3.9k
Closed
Labels
Description
- I have searched the issues of this repository and believe that this is not a duplicate.
Version
2.2.7
Environment
os: windons 19042.1165, browser:Google Chrome 93.0.4577.63, Vue: 3.2.6
Reproduction link
Steps to reproduce
在upload组件中,fileList设为v-model,然后按照文档中的示例可以进行图片预览,但是有时候可能需要对上传的图片进行操作(例如裁剪),然后在赋值进去fileList,当希望手动控制filelist(取消v-model),并在beforeUpload获取图片文件进行裁剪后再手动赋进fileList时预览图片失败了。(在提供的reproduction中仅仅是在beforeUpload中进行fileList的赋值貌似就已经不能预览了)
What is expected?
有无方法解决上述的手动控制flieList预览问题
What is actually happening?
手动控制fileList时图片预览失败