Skip to content

Commit

Permalink
fix: add some waiting time
Browse files Browse the repository at this point in the history
  • Loading branch information
Alan-Kuan committed Aug 28, 2023
1 parent 27a0ed1 commit fe727b5
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions site/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,8 @@ <h1 class="font-500">112-1 臺灣大學宿舍候補紀錄</h1>

if (data.last_saved_date !== this.today) {
await this.fetchLatestData();
} else {
await setTimeout(() => {}, 100);
}

this.drawCharts();
Expand Down

0 comments on commit fe727b5

Please sign in to comment.