同步提交

This commit is contained in:
daihh
2022-10-29 11:42:35 +08:00
parent 213e24db7d
commit d7d1e48426
2 changed files with 81 additions and 4 deletions

View File

@@ -454,11 +454,13 @@
},
// 提交考卷
submit: function() {
if(!this.aloneExamAnswerId){
this.$refs.messager.show({message:'请先答题再提交',type:'error'});
return;
}
// if(!this.aloneExamAnswerId){
// this.$refs.messager.show({message:'请先答题再提交',type:'error'});
// return;
// }
let that = this;
//检查答案,是否有,如果没有就不能提交
//试卷内容不传试题只是传id索引及目录
that.submitButton = true;
let data = {};
data.id = this.aloneExamAnswerId;