书面页面报错

This commit is contained in:
Your Name
2023-10-15 18:28:18 +08:00
parent 605f086a05
commit 3f1a362764
@@ -326,21 +326,23 @@ export default {
this.applicateArr = []; this.applicateArr = [];
this.quiltArr = []; this.quiltArr = [];
this.formData = this.form; this.formData = this.form;
setTimeout(() => { setTimeout(() => {
this.adjudicatename.caseAttachList.forEach(item => { if (this.adjudicatename.caseAttachList.length > 0) {
if (item.annexType == 2) { this.adjudicatename.caseAttachList.forEach(item => {
this.applicateArr.push({ if (item.annexType == 2) {
annexName: item.annexName, this.applicateArr.push({
annexPath: item.annexPath, annexName: item.annexName,
}); annexPath: item.annexPath,
} });
if (item.annexType == 6) { }
this.quiltArr.push({ if (item.annexType == 6) {
annexName: item.annexName, this.quiltArr.push({
annexPath: item.annexPath, annexName: item.annexName,
}); annexPath: item.annexPath,
} });
}); }
});
}
}, 500); }, 500);
this.form2 = {}; this.form2 = {};
} }