tab จัดการคำขอ
This commit is contained in:
parent
67d62541f6
commit
e8abe74e45
2 changed files with 14 additions and 8 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue