แก้ไขชื่อประเมืนหาย

This commit is contained in:
DESKTOP-1R2VSQH\Lenovo ThinkPad E490 2024-01-16 11:28:19 +07:00
parent 08cfdff6db
commit 6807b4aecf

View file

@ -38,10 +38,10 @@ async function fetchFeature() {
.get(config.API.evaluateGetDetail(id.value)) .get(config.API.evaluateGetDetail(id.value))
.then((res) => { .then((res) => {
data.value = res.data.result; data.value = res.data.result;
const person = data.value[0]; const person: any = data.value;
if (person) { if (data.value) {
prefix.value = person.prefix;
fullName.value = person.fullName; fullName.value = person.fullName;
prefix.value = person.prefix;
} }
}) })
.catch((e) => { .catch((e) => {