From 684f09feaf20c5885aaab413759b9ddb1814e65a Mon Sep 17 00:00:00 2001 From: lyswhut Date: Sun, 18 Aug 2024 10:10:38 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E5=88=97=E8=A1=A8=E6=95=B0?= =?UTF-8?q?=E6=8D=AE=E5=90=8C=E6=AD=A5=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/renderer/store/list/listManage/rendererListManage.ts | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/renderer/store/list/listManage/rendererListManage.ts b/src/renderer/store/list/listManage/rendererListManage.ts index b50b6661..d0542b80 100644 --- a/src/renderer/store/list/listManage/rendererListManage.ts +++ b/src/renderer/store/list/listManage/rendererListManage.ts @@ -206,9 +206,8 @@ export const registerListAction = (appSetting: LX.AppSetting, onListChanged: (li if (updatedListIds.length) onListChanged(updatedListIds) } const list_music_update = ({ params: musicInfos }: LX.IpcRendererEventParams) => { - listMusicUpdateInfo(musicInfos) - // const updatedListIds = listMusicUpdateInfo(musicInfos) - // if (updatedListIds.length) onListChanged(updatedListIds) + const updatedListIds = listMusicUpdateInfo(musicInfos) + if (updatedListIds.length) onListChanged(updatedListIds) } const list_music_update_position = ({ params: { listId, position, ids } }: LX.IpcRendererEventParams) => { void listMusicUpdatePosition(listId, position, ids).then(updatedListIds => {