v1.9 业主页面男女 bug 修复

This commit is contained in:
wuxw 2025-07-30 16:12:03 +08:00
parent 6f0d0f5b94
commit ff94119c1f
2 changed files with 5 additions and 5 deletions

View File

@ -96,7 +96,7 @@
<el-table-column :label="$t('listOwner.columns.gender')" align="center">
<template slot-scope="scope">
{{ scope.row.sex === 0 ? $t('listOwner.gender.male') : $t('listOwner.gender.female') }}
{{ scope.row.sex == 0 ? $t('listOwner.gender.male') : $t('listOwner.gender.female') }}
</template>
</el-table-column>
@ -295,9 +295,9 @@ export default {
page: this.currentPage,
row: this.pageSize
}
const { data, records } = await queryOwners(params)
const { data, total } = await queryOwners(params)
this.owners = data
this.total = records
this.total = total
this.dealOwnerAttr(data)
} catch (error) {
console.error('Failed to get owner list:', error)

View File

@ -44,8 +44,8 @@ export default {
logo: '',
companyName:'',
loginForm: {
username: 'wuxw',
passwd: 'admin',
username: '',
passwd: '',
validateCode: ''
},
captchaUrl: '',