From 308c34038375c64f94c07a92736cb167568359e6 Mon Sep 17 00:00:00 2001
From: children117cl <278950112@qq.com>
Date: 星期一, 31 五月 2021 17:20:44 +0800
Subject: [PATCH] 调整bannerOpts.js代码排班

---
 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 322edf3..af4f3b4 100644
--- a/src/pages/system/admin.vue
+++ b/src/pages/system/admin.vue
@@ -41,7 +41,7 @@
       <el-table-column label="璐﹀彿" prop="account" align="center" min-width="120" />
       <el-table-column label="璐﹀彿绫诲瀷" prop="account" align="center" min-width="120">
         <template slot-scope="scope">
-          <span v-if="scope.row.type">{{ accountTypeOptions[scope.row.type].name }}</span>
+          <span v-if="accountTypeOptions[scope.row.type]">{{ accountTypeOptions[scope.row.type].name }}</span>
         </template>
       </el-table-column>
       <el-table-column label="瑙掕壊" prop="roleName" align="center" min-width="120" />
@@ -397,7 +397,7 @@
           }, () => {
             this.$messageSuc('淇濆瓨鎴愬姛')
             this.hideAdminDialog()
-            this.getList()
+            isAdd ? this.reGetList() : this.getList()
           })
         }
       })

--
Gitblit v1.8.0