fixing remove import file

This commit is contained in:
Warunee Tamkoo 2024-11-21 16:58:49 +07:00
parent e541bbb6d2
commit ed683d0bb3
24 changed files with 201 additions and 831 deletions

View file

@ -9,7 +9,7 @@ import { checkPermission } from "@/utils/permissions";
import { useRouter, useRoute } from "vue-router";
import { useCounterMixin } from "@/stores/mixin";
import type { DataNumObject } from "@/modules/01_metadata/interface/request/Calendar";
import type { DataNumObject } from "@/modules/03_recruiting/interface/request/Calendar";
import TableCandidate from "@/modules/03_recruiting/components/TableCandidate.vue";
import ExamFinished from "@/modules/03_recruiting/components/ExamFinished.vue";
@ -234,7 +234,7 @@ async function changePage(
/** ดึงข้อมูล */
async function fetchData(loading: boolean = true) {
loading === true ?? showLoader();
loading ?? showLoader();
await http
.get(
config.API.candidateOfPeriodExam(status.value, examId.value) +
@ -274,7 +274,7 @@ async function fetchData(loading: boolean = true) {
messageError($q, e);
})
.finally(() => {
loading === true ?? hideLoader();
loading ?? hideLoader();
});
}