【修改】下载

This commit is contained in:
zhoulingpo
2023-05-26 14:58:39 +08:00
parent 7bb05f8b8a
commit 25fde20dca
2 changed files with 23 additions and 12 deletions
@@ -297,6 +297,7 @@ export default {
watch: {
processForm: {
handler(val) {
console.log(this.formControl,"jajjajajajajj")
this.form = this.processForm
console.log("变化了", this.form)
if (this.form.secrecyLast) {
@@ -317,16 +318,19 @@ export default {
this.$refs.processFormRef.clearValidate()
})
}
if(this.processForm.fileList.length>0){
this.fileList=this.processForm.fileList.map(item=>{
return {
name:item.fileName,
id:item.fileId
}
})
this.handleCurrentChange(1)
console.log(this.processForm,"this.processForm.fileList.length")
if(this.processForm.fileList){
if(this.processForm.fileList.length>0){
this.fileList=this.processForm.fileList.map(item=>{
return {
name:item.fileName,
id:item.fileId
}
})
this.handleCurrentChange(1)
}
}
},
immediate: true
}