From cd4ea50a6cf506d6b6ab8396ce581281a073bd10 Mon Sep 17 00:00:00 2001 From: ThrRip Date: Tue, 7 Nov 2023 06:25:33 +0800 Subject: [PATCH] home: Fix incorrect Pinyin preprocessing --- packages/home/app.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/home/app.vue b/packages/home/app.vue index f30b901..74952da 100644 --- a/packages/home/app.vue +++ b/packages/home/app.vue @@ -435,7 +435,7 @@ const viewPlaylistData = computed(() => { song[`${viewPlaylistSortingColumn.value}Pinyin`] = // @ts-ignore pinyin(song[viewPlaylistSortingColumn.value], { toneType: 'none', nonZh: 'consecutive' }) - .replace(' ', '') + .replaceAll(' ', '') playlist.push(song) }) playlist.sort((a, b) => {