|
@@ -151,7 +151,6 @@ export default {
|
|
|
async filtereEdit (e) {
|
|
|
const res = await this.imgNewsFetch({ id: e._id });
|
|
|
this.formdata = res.data;
|
|
|
- console.log(this.formdata);
|
|
|
this.title = '修改图片新闻';
|
|
|
this.typeChage();
|
|
|
},
|
|
@@ -237,7 +236,6 @@ export default {
|
|
|
this.$refs.formData.setForm('img', res.data.filePath);
|
|
|
},
|
|
|
beforeAvatarUpload(file) {
|
|
|
- console.log(file);
|
|
|
// const isJPG = file.type === 'image/jpeg';
|
|
|
// const isLt2M = file.size / 1024 / 1024 < 2;
|
|
|
|