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){
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){