แก้คำนำหน้าชื่อเป็น null
This commit is contained in:
parent
7fa1129457
commit
371fc43282
2 changed files with 4 additions and 4 deletions
|
|
@ -41,7 +41,7 @@ const columns = ref<QTableProps["columns"]>([
|
|||
headerStyle: "font-size: 14px",
|
||||
style: "font-size: 14px",
|
||||
format(val, row) {
|
||||
return `${row.prefix}${row.firstName} ${row.lastName}`;
|
||||
return `${row.prefix ?? ""}${row.firstName} ${row.lastName}`;
|
||||
},
|
||||
},
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue