This commit is contained in:
alvis
2021-01-14 08:43:41 +08:00
parent ecbe67e666
commit 3b38399d32
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