You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Aug 22, 2022. It is now read-only.
应用场景:商品编辑页面,商品已上传图片的增删改
问题描述:发布商品时,使用该组件将图片上传,并保存成功。当有编辑的需要时,编辑页面加载完毕,上传组件初始化完成,这时,如何将之前上传过的图片增加到组件里?图片列表我已通过其他方式实现,但是如何实现与组件的交互?
比如,最多允许上传10张,fileNumLimit设置为10,商品已有5张图片,如何在fileNumLimit中减去5,实现只能再上传5张。或者我删除一张,那么应该可以再上传6张,这些通过什么接口能实现?
望解答,谢谢。
The text was updated successfully, but these errors were encountered: