refactor code ส่วนของเครื่องราชฯ

This commit is contained in:
DESKTOP-1R2VSQH\Lenovo ThinkPad E490 2023-09-21 14:21:26 +07:00
parent 33c2b338a2
commit 1ed9faebf2
11 changed files with 326 additions and 149 deletions

View file

@ -33,7 +33,7 @@ const stat = ref<any>({
contain: 0,
disclaim: 0,
});
// Stat
const getStat = async () => {
const examIdString = Array.isArray(examId) ? examId[0] : examId;
await http
@ -76,7 +76,7 @@ onMounted(async () => {
const fetchPlacementData = async () => {
showLoader();
http
await http
.get(config.API.MainDetail(0))
.then(async (res) => {
DataStore.DataMainOrig = res.data.result;