แก้ตัวแปร
This commit is contained in:
parent
055a5c35b7
commit
b3576ec6cf
2 changed files with 2 additions and 2 deletions
|
|
@ -119,7 +119,7 @@ async function fetchData() {
|
||||||
const data = await res.data.result;
|
const data = await res.data.result;
|
||||||
rows.value = data.map((e: DataPerson) => ({
|
rows.value = data.map((e: DataPerson) => ({
|
||||||
...e,
|
...e,
|
||||||
fullName: `${e.prefix}${e.fristName} ${e.lastName}`,
|
fullName: `${e.prefix}${e.firstName} ${e.lastName}`,
|
||||||
}));
|
}));
|
||||||
|
|
||||||
isChangeData.value = false;
|
isChangeData.value = false;
|
||||||
|
|
|
||||||
|
|
@ -15,7 +15,7 @@ interface ItemTabs {
|
||||||
interface DataPerson {
|
interface DataPerson {
|
||||||
fullName?: string;
|
fullName?: string;
|
||||||
citizenId: string;
|
citizenId: string;
|
||||||
fristName: string;
|
firstName: string;
|
||||||
id: string;
|
id: string;
|
||||||
lastName: string;
|
lastName: string;
|
||||||
org: string;
|
org: string;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue