|
@@ -113,8 +113,8 @@ export default {
|
|
this.modalForm.courseCode = this.data.courseCode;
|
|
this.modalForm.courseCode = this.data.courseCode;
|
|
this.modalForm.paperAttachmentId = "";
|
|
this.modalForm.paperAttachmentId = "";
|
|
},
|
|
},
|
|
- uplaodError(msg) {
|
|
|
|
- this.$message.error(msg);
|
|
|
|
|
|
+ uplaodError(errorData) {
|
|
|
|
+ this.$notify.error({ title: "错误提示", message: errorData.message });
|
|
},
|
|
},
|
|
uploadSuccess(res) {
|
|
uploadSuccess(res) {
|
|
this.$message.success("上传成功!");
|
|
this.$message.success("上传成功!");
|