修复调整当前播放歌曲的位置时会导致切歌的问题

This commit is contained in:
lyswhut
2021-12-11 16:24:00 +08:00
parent 5aad81c696
commit 96c3034a07
2 changed files with 17 additions and 4 deletions
+2 -2
View File
@@ -402,8 +402,8 @@ export const getPlayList = () => rendererInvoke(NAMES.mainWindow.get_playlist).c
let filePath = path.join(dataPath, 'playList.json.bak')
rendererInvoke(NAMES.mainWindow.show_dialog, {
type: 'error',
message: window.i18n.t('store.state.load_list_file_error_title'),
detail: window.i18n.t('store.state.load_list_file_error_detail', {
message: window.i18n.t('load_list_file_error_title'),
detail: window.i18n.t('load_list_file_error_detail', {
path: filePath,
detail: error.message,
}),