This commit is contained in:
alvis
2020-12-25 09:29:31 +08:00
parent 96dac789eb
commit 4f4ee30cff
6 changed files with 7 additions and 5 deletions

View File

@@ -118,7 +118,7 @@ export default {
birthDay: null,
phone: null
}
this.form = lastId
this.form.id = lastId
},
...mapActions('tagsView', { delCurrentView: 'delCurrentView' })
},

View File

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