From fcbce0f9943c835b5e074113ecca2e096c002d7d Mon Sep 17 00:00:00 2001 From: setthawutttty Date: Wed, 22 Jan 2025 17:53:59 +0700 Subject: [PATCH] no message --- src/modules/15_probationReport/views/main.vue | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/src/modules/15_probationReport/views/main.vue b/src/modules/15_probationReport/views/main.vue index e8a2d86..c0813df 100644 --- a/src/modules/15_probationReport/views/main.vue +++ b/src/modules/15_probationReport/views/main.vue @@ -11,7 +11,7 @@ import { useProbationReport } from "@/modules/15_probationReport/store"; import type { DataSurvey, ProbationReportType, - FileType + FileType, } from "@/modules/15_probationReport/interface/Main"; import SurveyPage from "@/modules/15_probationReport/components/01_SurveyPage.vue"; @@ -124,7 +124,7 @@ async function getSalary( await http .get(config.API.developmentSalaryFile(name, group, id)) .then((res) => { - val.value = res.data; + val.value = res.data ? res.data : []; }) .catch((e) => { // messageError($q, e); @@ -183,7 +183,11 @@ onMounted(async () => { name="RESULT2" label="ผลการประเมินการฯ ครั้งที่ 2" /> - +