fix: 展示手机号码

This commit is contained in:
jiangweidong
2023-05-19 15:14:56 +08:00
committed by Jiangjie.Bai
parent 170dde2ba5
commit d3cbb48e05
2 changed files with 7 additions and 1 deletions

View File

@@ -181,7 +181,7 @@ export default {
key: this.$t('users.Phone'),
formatter: () => {
const phoneObj = this.object.phone
return <div>{phoneObj?.code} {phoneObj?.phone}</div>
return <div>{phoneObj?.code}{phoneObj?.phone}</div>
}
},
'wecom_id', 'dingtalk_id', 'feishu_id',

View File

@@ -82,6 +82,12 @@ export default {
return this.$store.getters.hasValidLicense && !this.currentOrgIsRoot
}
},
phone: {
formatter: (row) => {
const phoneObj = row.phone
return <div>{phoneObj?.code}{phoneObj?.phone}</div>
}
},
login_blocked: {
width: '90px',
formatterArgs: {