刘翔宇-旅管家 2 years ago
parent d553fa8f1b
commit d180311153

@ -215,7 +215,10 @@
this[key] = fileList;
},
removeHande(file, fileList, key) {
console.log("fileList", fileList)
console.log("key", key)
this[key] = fileList;
this.form[key] = "";
},
uploadBefore(file) {
console.log(file);
@ -268,9 +271,9 @@
writable: true,
});
}
this.form.image_id = this.image_id[0]?.response?.id;
this.form.video_id = this.video_id[0]?.response?.id;
this.form.video_image_id = this.video_image_id[0]?.response?.id;
this.form.image_id = this.image_id.length==0?"":(this.image_id[0]?.response?.id);
this.form.video_id =this.video_id.length==0?"":(this.video_id[0]?.response?.id);
this.form.video_image_id =this.video_image_id.length==0?"":(this.video_image_id[0]?.response?.id);
save(Object.assign(this.form, {
table_name: "map_points"
})).then(

Loading…
Cancel
Save