bug修复

This commit is contained in:
alvis
2020-11-24 10:52:18 +08:00
parent e53c08839f
commit f1dc6e77af
27 changed files with 28 additions and 3 deletions

View File

@@ -114,6 +114,19 @@ export default {
},
resetForm () {
this.$refs['form'].resetFields()
this.form = {
id: null,
userName: '',
password: '',
realName: '',
role: 1,
status: 1,
age: '',
sex: '',
birthDay: null,
phone: null,
userLevel: null
}
},
...mapActions('tagsView', { delCurrentView: 'delCurrentView' })
},

View File

@@ -105,6 +105,18 @@ export default {
},
resetForm () {
this.$refs['form'].resetFields()
this.form = {
id: null,
userName: '',
password: '',
realName: '',
role: 2,
status: 1,
age: '',
sex: '',
birthDay: null,
phone: null
}
},
...mapActions('tagsView', { delCurrentView: 'delCurrentView' })
},