pc-master #268
@ -275,9 +275,11 @@ export default {
|
||||
this.$refs.fileInput.value = "";
|
||||
} else {
|
||||
this.$message.error(res.data.msg);
|
||||
this.$refs.fileInput.value = "";
|
||||
}
|
||||
}).catch((err) => {
|
||||
this.loading = false;
|
||||
this.$refs.fileInput.value = "";
|
||||
this.$message.error("插入图片失败");
|
||||
});
|
||||
};
|
||||
|
@ -287,9 +287,11 @@ detailedIntroductionTextEnTitle:'',
|
||||
this.$refs.fileInput.value = "";
|
||||
} else {
|
||||
this.$message.error(res.data.msg);
|
||||
this.$refs.fileInput.value = "";
|
||||
}
|
||||
}).catch((err) => {
|
||||
this.loading = false;
|
||||
this.$refs.fileInput.value = "";
|
||||
this.$message.error("插入图片失败");
|
||||
});
|
||||
};
|
||||
|
@ -265,9 +265,11 @@ detailedIntroductionTextEnTitle:'',
|
||||
this.$refs.fileInput.value = "";
|
||||
} else {
|
||||
this.$message.error(res.data.msg);
|
||||
this.$refs.fileInput.value = "";
|
||||
}
|
||||
}).catch((err) => {
|
||||
this.loading = false;
|
||||
this.$refs.fileInput.value = "";
|
||||
this.$message.error("插入图片失败");
|
||||
});
|
||||
};
|
||||
|
@ -453,9 +453,11 @@ export default {
|
||||
this.$refs.fileInput.value = "";
|
||||
} else {
|
||||
this.$message.error(res.data.msg);
|
||||
this.$refs.fileInput.value = "";
|
||||
}
|
||||
}).catch((err) => {
|
||||
this.loading = false;
|
||||
this.$refs.fileInput.value = "";
|
||||
this.$message.error("插入图片失败");
|
||||
});
|
||||
};
|
||||
|
@ -590,8 +590,10 @@ productId: "",
|
||||
this.$refs.fileInput1.value = "";
|
||||
} else {
|
||||
this.$message.error(res.data.msg);
|
||||
this.$refs.fileInput.value = "";
|
||||
}
|
||||
}).catch((err) => {
|
||||
this.$refs.fileInput.value = "";
|
||||
this.loading = false;
|
||||
this.$message.error("插入图片失败");
|
||||
});
|
||||
|
Loading…
x
Reference in New Issue
Block a user