Commit a333cdb0 authored by xiaoye's avatar xiaoye

Update tournament.vue

parent 69c2cafd
...@@ -424,7 +424,7 @@ ...@@ -424,7 +424,7 @@
array : [] as Array<Match>, array : [] as Array<Match>,
total : 0, total : 0,
page : 1, page : 1,
round : 1, round : 0,
maxRound : 2, maxRound : 2,
status : { status : {
color : new Map([ color : new Map([
...@@ -590,6 +590,7 @@ ...@@ -590,6 +590,7 @@
page.loading = true; page.loading = true;
participant.name = ''; participant.name = '';
if (await tournament.search()) { if (await tournament.search()) {
match.round = 0;
await (new Promise(resolve => setTimeout(resolve, 500))); await (new Promise(resolve => setTimeout(resolve, 500)));
page.loading = false; page.loading = false;
page.height = 0; page.height = 0;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment