组件升级:
+ @vue/cli-service@4.5.9 + @vue/cli-plugin-router@4.5.9 + @vue/cli-plugin-eslint@4.5.9 + @vue/cli-plugin-babel@4.5.9 + @vue/cli-plugin-vuex@4.5.9 bug 修复: 重置
This commit is contained in:
@@ -176,6 +176,12 @@ export default {
|
||||
},
|
||||
resetForm () {
|
||||
this.$refs['form'].resetFields()
|
||||
this.form = {
|
||||
id: null,
|
||||
gradeLevel: null,
|
||||
title: '',
|
||||
paperItems: []
|
||||
}
|
||||
},
|
||||
subjectFormatter (row, column, cellValue, index) {
|
||||
return this.subjectEnumFormat(cellValue)
|
||||
|
||||
Reference in New Issue
Block a user