Skip to content

Commit

Permalink
feat: 增加延迟
Browse files Browse the repository at this point in the history
  • Loading branch information
YasinChan committed Mar 27, 2024
1 parent 0c3efac commit 82c0da8
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/view/GameRoom.vue
Original file line number Diff line number Diff line change
Expand Up @@ -135,8 +135,9 @@ onMounted(async () => {
});
}
}
await nextTick();
await getList();
setTimeout(async () => {
await getList();
}, 500);
});
async function getList() {
Expand Down

0 comments on commit 82c0da8

Please sign in to comment.