refactor code ส่วนของเครื่องราชฯ
This commit is contained in:
parent
33c2b338a2
commit
1ed9faebf2
11 changed files with 326 additions and 149 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue