From 7394afbdf72c9c47779344ee2b97dbc099ab6b06 Mon Sep 17 00:00:00 2001 From: shijing Date: Mon, 12 Jan 2026 14:26:57 +0800 Subject: [PATCH] =?UTF-8?q?fix=EF=BC=9Aroute=5Fform=E9=97=AE=E9=A2=98?= =?UTF-8?q?=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, 6 insertions(+), 5 deletions(-) diff --git a/src/views/mtm/route_form.vue b/src/views/mtm/route_form.vue index 368556a8..8eb075b6 100644 --- a/src/views/mtm/route_form.vue +++ b/src/views/mtm/route_form.vue @@ -406,6 +406,7 @@ export default { }); }, formTableDel(row){ + let that = this; this.$confirm(`确定删除吗?`, "提示", { type: "warning", }).then(() => { @@ -434,8 +435,9 @@ export default { }, //合并新增的图片Ids imagesChange(data,data1){ + let that = this; let files = []; - this.fileIds = data; + that.fileIds = data; data1.forEach((item)=>{ let obj = {}; obj.id = item.id; @@ -445,12 +447,11 @@ export default { files.push(obj); }) if(that.fileurl.length>0){ - this.paramsJsonFileurl = files.concat(that.fileurl); + that.paramsJsonFileurl = files.concat(that.fileurl); }else{ - this.paramsJsonFileurl = files; + that.paramsJsonFileurl = files; } - - this.params_json.fileurl = JSON.stringify(this.paramsJsonFileurl); + that.params_json.fileurl = JSON.stringify(that.paramsJsonFileurl); }, //合并新增的图片Ids imagesDel(index){