|
@@ -593,10 +593,10 @@ export default {
|
|
this.copyPaperDialog = false;
|
|
this.copyPaperDialog = false;
|
|
this.searchImportPaper();
|
|
this.searchImportPaper();
|
|
})
|
|
})
|
|
- .catch(() => {
|
|
|
|
|
|
+ .catch(error => {
|
|
this.$notify({
|
|
this.$notify({
|
|
type: "error",
|
|
type: "error",
|
|
- message: "试卷名称重复,请重新命名"
|
|
|
|
|
|
+ message: error.response.data.msg
|
|
});
|
|
});
|
|
this.cloneLoading = false;
|
|
this.cloneLoading = false;
|
|
});
|
|
});
|