fix: Prevent rendering of empty phone number in UserList

This commit is contained in:
w940853815
2025-06-30 10:54:25 +08:00
committed by w940853815
parent b45257b284
commit 083b7762b1

View File

@@ -216,7 +216,7 @@ export default {
width: '120px',
formatter: (row) => {
const phoneObj = row.phone
return <div>{phoneObj?.code}{phoneObj?.phone}</div>
return phoneObj?.phone ? <div>{phoneObj?.code}{phoneObj?.phone}</div> : ''
}
},
login_blocked: {