浏览代码

fix: 用户

chris 4 年之前
父节点
当前提交
a31f87de33
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/views/modules/sys/user.vue

+ 1 - 1
src/views/modules/sys/user.vue

@@ -53,7 +53,7 @@
         align="center"
         label="状态">
         <template slot-scope="scope">
-          <el-tag v-if="scope.row.status === 0" size="small" type="danger">禁用</el-tag>
+          <el-tag v-if="scope.row.status === '0'" size="small" type="danger">禁用</el-tag>
           <el-tag v-else size="small">正常</el-tag>
         </template>
       </el-table-column>