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:
@@ -586,7 +586,7 @@ export default {
|
||||
this.courseCoverurl = "";
|
||||
this.courseInfo.coverImg = "";
|
||||
},
|
||||
getDetail() {
|
||||
getDetail(){
|
||||
let $this = this;
|
||||
apiCoursePortal.detail(this.id,true).then(rs => {
|
||||
if (rs.status == 200) {
|
||||
|
||||
@@ -456,6 +456,8 @@ export default {
|
||||
}
|
||||
});
|
||||
this.testStart = false;
|
||||
//获取最新的成绩
|
||||
this.loadStudyItemId();
|
||||
this.$emit('submit',this.lastScore);//考试提交回调处理
|
||||
} else {
|
||||
this.$message.error(res.message);
|
||||
|
||||
Reference in New Issue
Block a user