fix:route_form问题修正

This commit is contained in:
shijing 2026-01-12 14:26:57 +08:00
parent 057fa9af75
commit 7394afbdf7
1 changed files with 6 additions and 5 deletions

View File

@ -406,6 +406,7 @@ export default {
}); });
}, },
formTableDel(row){ formTableDel(row){
let that = this;
this.$confirm(`确定删除吗?`, "提示", { this.$confirm(`确定删除吗?`, "提示", {
type: "warning", type: "warning",
}).then(() => { }).then(() => {
@ -434,8 +435,9 @@ export default {
}, },
//Ids //Ids
imagesChange(data,data1){ imagesChange(data,data1){
let that = this;
let files = []; let files = [];
this.fileIds = data; that.fileIds = data;
data1.forEach((item)=>{ data1.forEach((item)=>{
let obj = {}; let obj = {};
obj.id = item.id; obj.id = item.id;
@ -445,12 +447,11 @@ export default {
files.push(obj); files.push(obj);
}) })
if(that.fileurl.length>0){ if(that.fileurl.length>0){
this.paramsJsonFileurl = files.concat(that.fileurl); that.paramsJsonFileurl = files.concat(that.fileurl);
}else{ }else{
this.paramsJsonFileurl = files; that.paramsJsonFileurl = files;
} }
that.params_json.fileurl = JSON.stringify(that.paramsJsonFileurl);
this.params_json.fileurl = JSON.stringify(this.paramsJsonFileurl);
}, },
//Ids //Ids
imagesDel(index){ imagesDel(index){