This commit is contained in:
alvis
2020-12-14 09:13:18 +08:00
parent c885a0e60b
commit b6bcff27c0
5 changed files with 17 additions and 4 deletions

View File

@@ -209,6 +209,19 @@ export default {
},
resetForm () {
this.$refs['form'].resetFields()
this.form = {
id: null,
questionType: 4,
gradeLevel: null,
subjectId: null,
title: '',
items: [
],
analyze: '',
correct: '',
score: '',
difficult: 0
}
},
...mapActions('exam', { initSubject: 'initSubject' }),
...mapActions('tagsView', { delCurrentView: 'delCurrentView' })