แก้ตัวแปร

This commit is contained in:
STW_TTTY\stwtt 2024-09-27 10:28:48 +07:00
parent 055a5c35b7
commit b3576ec6cf
2 changed files with 2 additions and 2 deletions

View file

@ -119,7 +119,7 @@ async function fetchData() {
const data = await res.data.result;
rows.value = data.map((e: DataPerson) => ({
...e,
fullName: `${e.prefix}${e.fristName} ${e.lastName}`,
fullName: `${e.prefix}${e.firstName} ${e.lastName}`,
}));
isChangeData.value = false;

View file

@ -15,7 +15,7 @@ interface ItemTabs {
interface DataPerson {
fullName?: string;
citizenId: string;
fristName: string;
firstName: string;
id: string;
lastName: string;
org: string;