From faeb372259f5d47cd3ba304bf383361d18da2714 Mon Sep 17 00:00:00 2001 From: liweilong <515897141@qq.com> Date: 星期五, 25 十二月 2020 11:15:21 +0800 Subject: [PATCH] 修复管理员管理 --- src/pages/system/admin.vue | 7 +++++-- 1 files changed, 5 insertions(+), 2 deletions(-) diff --git a/src/pages/system/admin.vue b/src/pages/system/admin.vue index 0e8b5a3..1c98754 100644 --- a/src/pages/system/admin.vue +++ b/src/pages/system/admin.vue @@ -194,6 +194,9 @@ ], accountType: [ { required: true, message: '璐﹀彿绫诲瀷涓嶈兘涓虹┖', trigger: 'change' } + ], + isUse: [ + { required: true, message: '鏄惁鍚敤涓嶈兘涓虹┖', trigger: 'change' } ] } } @@ -349,9 +352,9 @@ passwordSure: '', sysRoleId: item.roId, id: item.id, - isUse: item.isUse + isUse: item.isUse, + accountType: item.type } - if (!item.type + '') adminDialogData.accountType = item.type this.adminDialogVisible = true this.$nextTick(() => { this.adminDialogData = adminDialogData -- Gitblit v1.8.0