Compare commits

..

No commits in common. "9af434075704b93b78058d51772e279301e9a383" and "a9135f9fd6478e2a8abaeb73880ec28ff5a9f44b" have entirely different histories.

27 changed files with 4 additions and 49 deletions

View File

@ -188,14 +188,9 @@ export default {
this.$refs.fileInput.value = ''; this.$refs.fileInput.value = '';
} else { } else {
this.$refs.fileInput.value = "";
this.$message.error(res.data.msg);
} }
}).catch((err) => { })
this.loading.close()
this.$refs.fileInput.value = "";
this.$message.error("插入图片失败");
});
}; };
reader.readAsArrayBuffer(file); reader.readAsArrayBuffer(file);

View File

@ -704,14 +704,9 @@ changeAddModel3(){
} }
} else { } else {
this.$refs.fileInput1.value = '';
this.$message.error(res.data.msg);
} }
}).catch((err) => { })
this.loading.close()
this.$refs.fileInput1.value = '';
this.$message.error("插入图片失败");
});
}; };
reader.readAsArrayBuffer(file); reader.readAsArrayBuffer(file);

View File

@ -375,13 +375,8 @@ export default {
this.nowData1.hls = res.data.msg; this.nowData1.hls = res.data.msg;
this.$refs.fileInput1.value = ""; this.$refs.fileInput1.value = "";
} else { } else {
this.$refs.fileInput1.value = "";
this.$message.error(res.data.msg); this.$message.error(res.data.msg);
} }
}).catch((err) => {
this.loading.close()
this.$refs.fileInput1.value = "";
this.$message.error("插入图片失败");
}); });
}; };
reader.readAsArrayBuffer(file); reader.readAsArrayBuffer(file);

View File

@ -275,11 +275,9 @@ export default {
this.$refs.fileInput.value = ""; this.$refs.fileInput.value = "";
} else { } else {
this.$message.error(res.data.msg); this.$message.error(res.data.msg);
this.$refs.fileInput.value = "";
} }
}).catch((err) => { }).catch((err) => {
this.loading = false; this.loading = false;
this.$refs.fileInput.value = "";
this.$message.error("插入图片失败"); this.$message.error("插入图片失败");
}); });
}; };

View File

@ -287,11 +287,9 @@ detailedIntroductionTextEnTitle:'',
this.$refs.fileInput.value = ""; this.$refs.fileInput.value = "";
} else { } else {
this.$message.error(res.data.msg); this.$message.error(res.data.msg);
this.$refs.fileInput.value = "";
} }
}).catch((err) => { }).catch((err) => {
this.loading = false; this.loading = false;
this.$refs.fileInput.value = "";
this.$message.error("插入图片失败"); this.$message.error("插入图片失败");
}); });
}; };

View File

@ -265,11 +265,9 @@ detailedIntroductionTextEnTitle:'',
this.$refs.fileInput.value = ""; this.$refs.fileInput.value = "";
} else { } else {
this.$message.error(res.data.msg); this.$message.error(res.data.msg);
this.$refs.fileInput.value = "";
} }
}).catch((err) => { }).catch((err) => {
this.loading = false; this.loading = false;
this.$refs.fileInput.value = "";
this.$message.error("插入图片失败"); this.$message.error("插入图片失败");
}); });
}; };

View File

@ -453,11 +453,9 @@ export default {
this.$refs.fileInput.value = ""; this.$refs.fileInput.value = "";
} else { } else {
this.$message.error(res.data.msg); this.$message.error(res.data.msg);
this.$refs.fileInput.value = "";
} }
}).catch((err) => { }).catch((err) => {
this.loading = false; this.loading = false;
this.$refs.fileInput.value = "";
this.$message.error("插入图片失败"); this.$message.error("插入图片失败");
}); });
}; };

View File

@ -590,10 +590,8 @@ productId: "",
this.$refs.fileInput1.value = ""; this.$refs.fileInput1.value = "";
} else { } else {
this.$message.error(res.data.msg); this.$message.error(res.data.msg);
this.$refs.fileInput.value = "";
} }
}).catch((err) => { }).catch((err) => {
this.$refs.fileInput.value = "";
this.loading = false; this.loading = false;
this.$message.error("插入图片失败"); this.$message.error("插入图片失败");
}); });

View File

@ -247,8 +247,6 @@ export default {
this.$refs.fileInput.value = ''; this.$refs.fileInput.value = '';
} else { } else {
console.log(null); console.log(null);
this.$refs.fileInput.value = '';
} }
} }

View File

@ -135,7 +135,6 @@ export default {
this.$refs.fileInput.value = ''; this.$refs.fileInput.value = '';
} else { } else {
console.log(null); console.log(null);
this.$refs.fileInput.value = '';
} }
} }

View File

@ -169,7 +169,6 @@ export default {
this.$refs.fileInput.value = ''; this.$refs.fileInput.value = '';
} else { } else {
console.log(null); console.log(null);
this.$refs.fileInput.value = '';
} }
} }

View File

@ -150,7 +150,6 @@ export default {
this.$refs.fileInput.value = ''; this.$refs.fileInput.value = '';
} else { } else {
console.log(null); console.log(null);
this.$refs.fileInput.value = '';
} }
} }

View File

@ -177,7 +177,6 @@ export default {
this.$refs.fileInput.value = ''; this.$refs.fileInput.value = '';
} else { } else {
console.log(null); console.log(null);
this.$refs.fileInput.value = '';
} }
} }

View File

@ -133,7 +133,6 @@ export default {
this.$refs.fileInput.value = ''; this.$refs.fileInput.value = '';
} else { } else {
console.log(null); console.log(null);
this.$refs.fileInput.value = '';
} }
} }

View File

@ -294,7 +294,6 @@ export default {
this.$refs.fileInput.value = ''; this.$refs.fileInput.value = '';
} else { } else {
console.log(null); console.log(null);
this.$refs.fileInput.value = '';
} }
} }

View File

@ -153,7 +153,6 @@ export default {
this.$refs.fileInput.value = ''; this.$refs.fileInput.value = '';
} else { } else {
console.log(null); console.log(null);
this.$refs.fileInput.value = '';
} }
} }

View File

@ -153,7 +153,6 @@ export default {
this.$refs.fileInput.value = ''; this.$refs.fileInput.value = '';
} else { } else {
console.log(null); console.log(null);
this.$refs.fileInput.value = '';
} }
} }

View File

@ -161,7 +161,6 @@ export default {
this.$refs.fileInput.value = ''; this.$refs.fileInput.value = '';
} else { } else {
console.log(null); console.log(null);
this.$refs.fileInput.value = '';
} }
} }

View File

@ -229,7 +229,6 @@ export default {
this.$refs.fileInput.value = ''; this.$refs.fileInput.value = '';
} else { } else {
console.log(null); console.log(null);
this.$refs.fileInput.value = '';
} }
} }

View File

@ -242,7 +242,6 @@ export default {
this.$refs.fileInput.value = ''; this.$refs.fileInput.value = '';
} else { } else {
console.log(null); console.log(null);
this.$refs.fileInput.value = '';
} }
} }

View File

@ -149,7 +149,6 @@ export default {
this.$refs.fileInput.value = ''; this.$refs.fileInput.value = '';
} else { } else {
console.log(null); console.log(null);
this.$refs.fileInput.value = '';
} }
} }

View File

@ -255,7 +255,6 @@ export default {
this.$refs.fileInput.value = ''; this.$refs.fileInput.value = '';
} else { } else {
console.log(null); console.log(null);
this.$refs.fileInput.value = '';
} }
} }

View File

@ -229,7 +229,6 @@ export default {
this.$refs.fileInput.value = ''; this.$refs.fileInput.value = '';
} else { } else {
console.log(null); console.log(null);
this.$refs.fileInput.value = '';
} }
} }

View File

@ -229,7 +229,6 @@ export default {
this.$refs.fileInput.value = ''; this.$refs.fileInput.value = '';
} else { } else {
console.log(null); console.log(null);
this.$refs.fileInput.value = '';
} }
} }

View File

@ -203,7 +203,6 @@ export default {
this.$refs.fileInput.value = ''; this.$refs.fileInput.value = '';
} else { } else {
console.log(null); console.log(null);
this.$refs.fileInput.value = '';
} }
} }

View File

@ -149,7 +149,6 @@ export default {
this.$refs.fileInput.value = ''; this.$refs.fileInput.value = '';
} else { } else {
console.log(null); console.log(null);
this.$refs.fileInput.value = '';
} }
} }

View File

@ -249,7 +249,6 @@ export default {
this.$refs.fileInput.value = ''; this.$refs.fileInput.value = '';
} else { } else {
console.log(null); console.log(null);
this.$refs.fileInput.value = '';
} }
} }