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" />