mirror of
https://gitee.com/java110/MicroCommunityWeb.git
synced 2026-02-25 06:09:11 +08:00
v1.9 业主页面男女 bug 修复
This commit is contained in:
parent
6f0d0f5b94
commit
ff94119c1f
@ -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)
|
||||
|
||||
@ -44,8 +44,8 @@ export default {
|
||||
logo: '',
|
||||
companyName:'',
|
||||
loginForm: {
|
||||
username: 'wuxw',
|
||||
passwd: 'admin',
|
||||
username: '',
|
||||
passwd: '',
|
||||
validateCode: ''
|
||||
},
|
||||
captchaUrl: '',
|
||||
|
||||
Loading…
Reference in New Issue
Block a user