fix: แก้ตัวแปรที่รับ

This commit is contained in:
setthawutttty 2025-09-05 09:43:25 +07:00
parent 941e503ef3
commit fc90c639ef

View file

@ -40,7 +40,7 @@ const mixin = useCounterMixin();
const { messageError, showLoader, hideLoader } = mixin;
const examID = ref<string>("");
const prefix = ref<string>("");
const TypeTest = ref<string>("");
const typeTest = ref<string>("");
const fullname = ref<string>("");
const importId = ref<string>(route.params.id as string); // Period Import Id
const examId = ref<string>(route.params.examId as string); //
@ -69,7 +69,7 @@ async function fetchData() {
examAttribute.value = data.examAttribute;
number.value = data.number;
examOrder.value = data.examOrder;
TypeTest.value = data.TypeTest;
typeTest.value = data.typeTest;
score_expired.value = data.scoreExpire;
if (data.scoreResult != null) {
@ -313,7 +313,7 @@ onMounted(async () => {
ภาคความรความสามารถทวไป (ภาค )
</div>
<div class="col-xs-3 col-sm-2 q-pr-xs">
{{ TypeTest == "bangkok" ? "กทม." : "ก.พ." }}
{{ typeTest == "bangkok" ? "กทม." : "ก.พ." }}
</div>
<div class="col-xs-3 col-sm-2 q-pr-xs"></div>
<div class="col-12">