diff --git a/src/views/modules/sys/user-add-or-update.vue b/src/views/modules/sys/user-add-or-update.vue index 9599c72..949af51 100644 --- a/src/views/modules/sys/user-add-or-update.vue +++ b/src/views/modules/sys/user-add-or-update.vue @@ -2,6 +2,7 @@
@@ -227,6 +228,18 @@ export default { }) } }) + }, + closeDialog(){ + this.dataForm.id = 0 + this.dataForm.userName = '' + this.dataForm.password = '' + this.dataForm.comfirmPassword = '' + this.dataForm.email = '' + this.dataForm.mobile = '' + this.dataForm.roleIdList = [] + this.dataForm.status = 1 + this.dataForm.site = '' + this.dataForm.userDisplay = '' } }, created() { diff --git a/src/views/modules/sys/user.vue b/src/views/modules/sys/user.vue index 39e6ff3..c6b0975 100644 --- a/src/views/modules/sys/user.vue +++ b/src/views/modules/sys/user.vue @@ -98,7 +98,7 @@ - +