优化列表保存性能

This commit is contained in:
lyswhut
2022-08-06 18:20:58 +08:00
parent 2f47f82b0f
commit ca3188c930
3 changed files with 4 additions and 3 deletions
+2 -2
View File
@@ -27,13 +27,13 @@ export const setAllowShowUserApiUpdateAlert = (id, enable) => {
export const saveMyList = data => {
rendererSend(NAMES.mainWindow.save_playlist, {
type: 'myList',
data,
data: JSON.stringify(data),
})
}
export const saveDownloadList = list => {
rendererSend(NAMES.mainWindow.save_playlist, {
type: 'downloadList',
data: list,
data: JSON.stringify(list),
})
}