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