This commit is contained in:
alvis
2020-12-15 09:21:29 +08:00
parent b6bcff27c0
commit 6794b1135c
4 changed files with 15 additions and 3 deletions

View File

@@ -162,6 +162,18 @@ export default {
},
resetForm () {
this.$refs['form'].resetFields()
this.form = {
id: null,
questionType: 5,
gradeLevel: null,
subjectId: null,
title: '',
items: [],
analyze: '',
correct: '',
score: '',
difficult: 0
}
},
levelChange () {
this.form.subjectId = null