This commit is contained in:
alvis
2020-12-31 09:52:35 +08:00
parent 898159ab3a
commit d635029b00
4 changed files with 5 additions and 3 deletions

View File

@@ -208,6 +208,7 @@ export default {
this.questionShow.question = this.form
},
resetForm () {
let lastId = this.form.id
this.$refs['form'].resetFields()
this.form = {
id: null,
@@ -222,6 +223,7 @@ export default {
score: '',
difficult: 0
}
this.form.id = lastId
},
...mapActions('exam', { initSubject: 'initSubject' }),
...mapActions('tagsView', { delCurrentView: 'delCurrentView' })