ソースを参照

修复: 用户管理性别显示问题

zongyuanluo 7 年 前
コミット
c4e4868c93
1 ファイル変更1 行追加1 行削除
  1. 1 1
      litemall-admin/src/views/user/user.vue

+ 1 - 1
litemall-admin/src/views/user/user.vue

@@ -25,7 +25,7 @@
       
       
       <el-table-column align="center" label="性别" prop="gender">
       <el-table-column align="center" label="性别" prop="gender">
         <template slot-scope="scope">
         <template slot-scope="scope">
-          <el-tag >{{genderDic[scope.row.status]}}</el-tag>
+          <el-tag >{{genderDic[scope.row.gender]}}</el-tag>
         </template>
         </template>
       </el-table-column>   
       </el-table-column>