mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/learning-system-portal.git
synced 2025-12-11 03:46:44 +08:00
放开提交按钮
This commit is contained in:
@@ -422,20 +422,20 @@ export default {
|
|||||||
let $this=this;
|
let $this=this;
|
||||||
let score=this.countTest();
|
let score=this.countTest();
|
||||||
console.log('score='+score);
|
console.log('score='+score);
|
||||||
// if(this.noAnswers.length>0){
|
if(this.noAnswers.length>0){
|
||||||
// this.$confirm('还有未答试题,您确定要提交吗?', '提示', {
|
this.$confirm('还有未答试题,您确定要提交吗?', '提示', {
|
||||||
// confirmButtonText: '确定',
|
confirmButtonText: '确定',
|
||||||
// cancelButtonText: '取消',
|
cancelButtonText: '取消',
|
||||||
// showClose:false,
|
showClose:false,
|
||||||
// type: 'warning'
|
type: 'warning'
|
||||||
// }).then(() => {
|
}).then(() => {
|
||||||
// this.submitTest(score);
|
this.submitTest(score);
|
||||||
// }).catch(()=>{
|
}).catch(()=>{
|
||||||
|
|
||||||
// })
|
})
|
||||||
// }else{
|
}else{
|
||||||
// this.submitTest(score);
|
this.submitTest(score);
|
||||||
// }
|
}
|
||||||
},
|
},
|
||||||
countTest(){ //计算考试的分数
|
countTest(){ //计算考试的分数
|
||||||
//console.log(this.paper.items);
|
//console.log(this.paper.items);
|
||||||
|
|||||||
Reference in New Issue
Block a user