This commit is contained in:
alvis
2020-12-30 09:41:59 +08:00
parent 4f4ee30cff
commit 2ecbee9561
4 changed files with 5 additions and 3 deletions

View File

@@ -175,6 +175,7 @@ export default {
})
},
resetForm () {
let lastId = this.form.id
this.$refs['form'].resetFields()
this.form = {
id: null,
@@ -182,6 +183,7 @@ export default {
title: '',
paperItems: []
}
this.form.id = lastId
},
subjectFormatter (row, column, cellValue, index) {
return this.subjectEnumFormat(cellValue)