This commit is contained in:
zmj 2024-05-15 11:36:58 +08:00
parent d9210ac4d8
commit dd2d362f97
1 changed files with 1 additions and 1 deletions

View File

@ -49,7 +49,7 @@
<el-table-column label="用户电话" prop="mobile" show-overflow-tooltip /> <el-table-column label="用户电话" prop="mobile" show-overflow-tooltip />
<el-table-column label="用户性别" prop="sex"> <el-table-column label="用户性别" prop="sex">
<template #default="{ row }"> <template #default="{ row }">
<span>{{ row.sex == 1 ? '男' : '女' }}</span> <span>{{ row.sex }}</span>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column label="操作" width="120" fixed="right"> <el-table-column label="操作" width="120" fixed="right">