最近在使用Element UI做项目的时候,使用到了Upload 上传组件,因为要实现明确name的文件才可以上传,使用到了before-upload方法,发现
当auto-upload为false的时候,before-upload方法失效
当auto-upload为true的时候,before-upload方法有效
最近在使用Element UI做项目的时候,使用到了Upload 上传组件,因为要实现明确name的文件才可以上传,使用到了before-upload方法,发现
当auto-upload为false的时候,before-upload方法失效
当auto-upload为true的时候,before-upload方法有效
相关文章: