This commit is contained in:
alvis
2020-12-21 09:49:23 +08:00
parent cd575ebc3f
commit 96dac789eb
4 changed files with 5 additions and 3 deletions

View File

@@ -104,6 +104,7 @@ export default {
})
},
resetForm () {
let lastId = this.form.id
this.$refs['form'].resetFields()
this.form = {
id: null,
@@ -117,6 +118,7 @@ export default {
birthDay: null,
phone: null
}
this.form = lastId
},
...mapActions('tagsView', { delCurrentView: 'delCurrentView' })
},