Commit fe63215b2a98e0fd4c3471d82773db95dbc487cb
1 parent
ff70d5b6
v1.9 版本 员工重置密码
Showing
2 changed files
with
2 additions
and
2 deletions
src/components/staff/resetStaffPwd.vue
src/views/staff/staffList.vue
| ... | ... | @@ -51,7 +51,7 @@ |
| 51 | 51 | <el-table-column prop="address" :label="$t('staff.address')" align="center" /> |
| 52 | 52 | <el-table-column prop="sex" :label="$t('staff.gender')" align="center"> |
| 53 | 53 | <template slot-scope="scope"> |
| 54 | - {{ scope.row.sex === 0 ? $t('staff.male') : $t('staff.female') }} | |
| 54 | + {{ scope.row.sex == 0 ? $t('staff.male') : $t('staff.female') }} | |
| 55 | 55 | </template> |
| 56 | 56 | </el-table-column> |
| 57 | 57 | <el-table-column :label="$t('staff.operations')" align="center" width="300"> | ... | ... |