แก้ไขการแสดงผลรายการกรรมการของวินัย

This commit is contained in:
Warunee Tamkoo 2024-01-24 16:22:39 +07:00
parent 568635fe65
commit 61d8e40fc2
4 changed files with 27 additions and 27 deletions

View file

@ -155,9 +155,9 @@ async function getList() {
prefix: item.prefix,
firstName: item.firstName,
lastName: item.lastName,
phone: item.phone,
email: item.email,
position: item.position,
phone: item.phone == '' ? '-' : item.phone,
email: item.email == '' ? '-' : item.email,
position: item.position == '' ? '-' : item.position,
}));
})
.catch((e) => {
@ -177,10 +177,10 @@ watch(
prefix: item.prefix,
firstName: item.firstName,
lastName: item.lastName,
position: item.position,
positionName: item.positionName,
email: item.email,
phone: item.phone,
phone: item.phone == '' ? '-' : item.phone,
email: item.email == '' ? '-' : item.email,
position: item.position == '' ? '-' : item.position,
positionName: item.positionName == '-' ? '-' : item.positionName,
}));
}
}