mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/learning-system-mobile.git
synced 2025-12-07 01:46:44 +08:00
同步提交
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user