แข่งขันดูชื่อรอบ
This commit is contained in:
parent
a98f365960
commit
99f56a89f2
1 changed files with 7 additions and 5 deletions
|
|
@ -133,7 +133,7 @@ const router = useRouter();
|
|||
const route = useRoute();
|
||||
const { loaderPage } = dataStore;
|
||||
const mixin = useCounterMixin();
|
||||
const { messageError } = mixin;
|
||||
const { messageError, success } = mixin;
|
||||
const year = ref<string>("");
|
||||
const round = ref<string>("");
|
||||
const name = ref<string>("");
|
||||
|
|
@ -451,10 +451,12 @@ const fetchData = async () => {
|
|||
notpass.value = header.notpass;
|
||||
|
||||
// period information
|
||||
name.value = period.name;
|
||||
round.value = period.order as string;
|
||||
year.value =
|
||||
period.year >= 2500 ? period.year : ((period.year + 543) as string);
|
||||
if (period != null) {
|
||||
name.value = period.name;
|
||||
round.value = period.order;
|
||||
year.value =
|
||||
period.year >= 2500 ? period.year : ((period.year + 543) as string);
|
||||
}
|
||||
|
||||
const data = res.data.result.data;
|
||||
if (data.length > 0) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue