This commit is contained in:
alvis
2021-01-14 08:43:28 +08:00
parent 4830dad754
commit 10b01a2e23
4 changed files with 5 additions and 3 deletions

View File

@@ -161,6 +161,7 @@ export default {
})
},
resetForm () {
let lastId = this.form.id
this.$refs['form'].resetFields()
this.form = {
id: null,
@@ -174,6 +175,7 @@ export default {
score: '',
difficult: 0
}
this.form.id = lastId
},
levelChange () {
this.form.subjectId = null