fix: telephoneNo can null

This commit is contained in:
Net 2024-07-31 12:01:15 +07:00
parent 3c60a902b4
commit 44ad8fe08f

View file

@ -2307,11 +2307,11 @@ watch(isMainPage, () => {
detail: [ detail: [
{ {
icon: 'mdi-cellphone', icon: 'mdi-cellphone',
value: props.row.branch[0].telephoneNo, value: props.row.branch[0]?.telephoneNo || '-',
}, },
{ {
icon: 'mdi-account', icon: 'mdi-account',
value: props.row.personName, value: props.row.personName || '-',
}, },
], ],
}" }"