From 3c96c48d2ee13f8298bc3ffdd9fe14f4be8a31d4 Mon Sep 17 00:00:00 2001 From: shijing Date: Mon, 12 Jan 2026 08:50:56 +0800 Subject: [PATCH] =?UTF-8?q?fix:=E5=9B=BE=E7=89=87=E7=BC=96=E8=BE=91?= =?UTF-8?q?=E6=97=B6=E4=B8=A2=E5=A4=B1=E4=B8=8A=E6=AC=A1=E4=BF=9D=E5=AD=98?= =?UTF-8?q?=E9=97=AE=E9=A2=98=E4=BF=AE=E6=AD=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/mtm/route_form.vue | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/src/views/mtm/route_form.vue b/src/views/mtm/route_form.vue index a4a8b7c4..025f77fa 100644 --- a/src/views/mtm/route_form.vue +++ b/src/views/mtm/route_form.vue @@ -444,8 +444,13 @@ export default { obj.path = item.path; files.push(obj); }) - this.paramsJsonFileurl = files; - this.params_json.fileurl = JSON.stringify(files); + if(that.fileurl.length>0){ + this.paramsJsonFileurl = files.concat(that.fileurl); + }else{ + this.paramsJsonFileurl = files; + } + + this.params_json.fileurl = JSON.stringify(this.paramsJsonFileurl); }, //合并新增的图片Ids imagesDel(index){ @@ -482,9 +487,7 @@ export default { } if(data.process_name=='排一次棒'){ that.params_json=that.form.params_json; - console.log('that.params_json',that.params_json); let fileurl = JSON.parse(that.params_json.fileurl); - console.log('fileurl',fileurl); fileurl.forEach((item)=>{ item.url = item.path; that.fileurl.push(item);