手动触发添加上传文件,不使用选择文件按钮
// 手动触发添加上传文件 // 利用ref找到DOM对象,调用方法为 this.$refs["upload"].$children[0].$refs.input.click();