chris %!s(int64=4) %!d(string=hai) anos
pai
achega
a31f87de33
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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>