Skip to content

Commit

Permalink
[fix] fix some problems
Browse files Browse the repository at this point in the history
  • Loading branch information
Diving-Fish committed Jun 14, 2024
1 parent 8dd10a0 commit 75ab698
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions web/src/pages/MainPage.vue
Original file line number Diff line number Diff line change
Expand Up @@ -239,7 +239,7 @@
<v-card-text>
<v-tabs v-model="tab">
<v-tab key="sd">旧乐谱</v-tab>
<v-tab key="dx">DX 2023</v-tab>
<v-tab key="dx">DX 2024</v-tab>
</v-tabs>
<v-tabs-items v-model="tab">
<v-tab-item key="sd">
Expand Down Expand Up @@ -940,7 +940,7 @@ export default {
} else {
record.rate = "sssp";
}
if (!this.chart_stats.charts[record.song_id] || !this.chart_stats.charts[record.song_id][record.level_index].fit_diff) {
if (record.song_id > 100000 || !this.chart_stats.charts[record.song_id] || !this.chart_stats.charts[record.song_id][record.level_index].fit_diff) {
record.fit_diff = record.ds;
} else {
record.fit_diff = this.chart_stats.charts[record.song_id][record.level_index].fit_diff
Expand Down

0 comments on commit 75ab698

Please sign in to comment.