From abd7fdc84dc6efe7e216923a8b8553c7d000ffa6 Mon Sep 17 00:00:00 2001
From: liweilong <515897141@qq.com>
Date: 星期五, 25 十二月 2020 10:58:18 +0800
Subject: [PATCH] 管理员修复 是否启用

---
 src/pages/system/admin.vue |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/pages/system/admin.vue b/src/pages/system/admin.vue
index bdf6a28..0e8b5a3 100644
--- a/src/pages/system/admin.vue
+++ b/src/pages/system/admin.vue
@@ -85,7 +85,7 @@
     />
 
     <!-- 鏂板&缂栬緫 -->
-    <el-dialog :title="adminDialogData.type=='add'?'鏂板绠$悊鍛�':'缂栬緫绠$悊鍛�'" width="500px" :visible.sync="adminDialogVisible" append-to-body>
+    <el-dialog :title="adminDialogData.type=='add'?'鏂板绠$悊鍛�':'缂栬緫绠$悊鍛�'" width="500px" :visible.sync="adminDialogVisible" append-to-body :before-close="hideDialog">
       <el-form ref="adminDialog" :model="adminDialogData" label-width="80px" :rules="rules" size="small">
         <el-form-item label="鍚嶇О" prop="name">
           <el-input v-model="adminDialogData.name" placeholder="璇疯緭鍏ュ悕绉�" />
@@ -122,7 +122,7 @@
           </el-select>
         </el-form-item>
 
-        <el-form-item label="鏄惁鍚敤" prop="sysRoleId">
+        <el-form-item label="鏄惁鍚敤" prop="isUse">
           <el-switch
             v-model="adminDialogData.isUse"
             :active-value="1"

--
Gitblit v1.8.0