修改上传文件组件

This commit is contained in:
qq787203167
2022-02-22 15:13:07 +08:00
parent ffe34f6313
commit 6c432ddfa5
4 changed files with 176 additions and 256 deletions
@@ -50,7 +50,6 @@
methods:{
perentHandleFunc(data){
this.myfileList = data
this.fileList = data
if (data && data.length > 0){
this.myfileList.forEach((res)=>{
res.name = res.fileName
@@ -58,7 +57,6 @@
})
}else {
this.myfileList = []
this.fileList = []
}
},
beforeUpload(file) {