tab จัดการคำขอ

This commit is contained in:
DESKTOP-1R2VSQH\Lenovo ThinkPad E490 2023-09-15 16:49:26 +07:00
parent 67d62541f6
commit e8abe74e45
2 changed files with 14 additions and 8 deletions

View file

@ -57,7 +57,11 @@ const fecthlistRound = async () => {
if (optionRound.value.length !== 0) {
DataStore.optionRound = optionRound.value;
const lastValue = optionRound.value[0];
round.value = lastValue.id.toString();
if (DataStore.roundId) {
round.value = DataStore.roundId;
} else {
round.value = lastValue.id.toString();
}
DataStore.roundId = round.value;
roundName.value = lastValue.name;
await fecthStat(round.value);