fix:route_form问题修正
This commit is contained in:
parent
057fa9af75
commit
7394afbdf7
|
|
@ -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){
|
||||
|
|
|
|||
Loading…
Reference in New Issue