From 6807b4aecf3a457f6bcd2ff5c2c9f89cd6563765 Mon Sep 17 00:00:00 2001 From: "DESKTOP-1R2VSQH\\Lenovo ThinkPad E490" Date: Tue, 16 Jan 2024 11:28:19 +0700 Subject: [PATCH] =?UTF-8?q?=E0=B9=81=E0=B8=81=E0=B9=89=E0=B9=84=E0=B8=82?= =?UTF-8?q?=E0=B8=8A=E0=B8=B7=E0=B9=88=E0=B8=AD=E0=B8=9B=E0=B8=A3=E0=B8=B0?= =?UTF-8?q?=E0=B9=80=E0=B8=A1=E0=B8=B7=E0=B8=99=E0=B8=AB=E0=B8=B2=E0=B8=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/modules/12_evaluatePersonal/views/DetailPage.vue | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/modules/12_evaluatePersonal/views/DetailPage.vue b/src/modules/12_evaluatePersonal/views/DetailPage.vue index 54ebea27b..1a8ca739b 100644 --- a/src/modules/12_evaluatePersonal/views/DetailPage.vue +++ b/src/modules/12_evaluatePersonal/views/DetailPage.vue @@ -38,10 +38,10 @@ async function fetchFeature() { .get(config.API.evaluateGetDetail(id.value)) .then((res) => { data.value = res.data.result; - const person = data.value[0]; - if (person) { - prefix.value = person.prefix; + const person: any = data.value; + if (data.value) { fullName.value = person.fullName; + prefix.value = person.prefix; } }) .catch((e) => {