mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/learning-system-portal.git
synced 2025-12-11 20:06:44 +08:00
考试试卷内容编辑时回显顺序引起的bug
This commit is contained in:
@@ -941,7 +941,10 @@ export default {
|
|||||||
}
|
}
|
||||||
apiPaper.querypaper(params).then((res) => {
|
apiPaper.querypaper(params).then((res) => {
|
||||||
if (res.status === 200) {
|
if (res.status === 200) {
|
||||||
this.questDirOptions = res.result
|
this.questDirOptions = res.result;
|
||||||
|
if(this.examForm.paperId){
|
||||||
|
this.changePaper(this.examForm.paperId);
|
||||||
|
}
|
||||||
} else {
|
} else {
|
||||||
this.$message.error(res.message)
|
this.$message.error(res.message)
|
||||||
}
|
}
|
||||||
@@ -1015,6 +1018,7 @@ export default {
|
|||||||
testDuration:30,
|
testDuration:30,
|
||||||
entranceTime:'',
|
entranceTime:'',
|
||||||
deadlineTime:'',
|
deadlineTime:'',
|
||||||
|
paperId:'',
|
||||||
times:0,
|
times:0,
|
||||||
}
|
}
|
||||||
this.resourceList = []
|
this.resourceList = []
|
||||||
|
|||||||
Reference in New Issue
Block a user