Skip to content

Commit

Permalink
home: Fix incorrect Pinyin preprocessing
Browse files Browse the repository at this point in the history
  • Loading branch information
ThrRip committed Nov 6, 2023
1 parent 0e1a114 commit cd4ea50
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/home/app.vue
Original file line number Diff line number Diff line change
Expand Up @@ -435,7 +435,7 @@ const viewPlaylistData = computed<Playlist>(() => {
song[`${viewPlaylistSortingColumn.value}Pinyin`] =
// @ts-ignore
pinyin(song[viewPlaylistSortingColumn.value], { toneType: 'none', nonZh: 'consecutive' })
.replace(' ', '')
.replaceAll(' ', '')
playlist.push(song)
})
playlist.sort((a, b) => {
Expand Down

0 comments on commit cd4ea50

Please sign in to comment.