From ecfccb4c40c2263e441e4a14cdcd72dcad3725da Mon Sep 17 00:00:00 2001 From: lyswhut Date: Sun, 3 Jul 2022 22:55:33 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E4=B8=B4=E6=97=B6=E5=88=97?= =?UTF-8?q?=E8=A1=A8meta=E4=BF=A1=E6=81=AF=E4=B8=A2=E5=A4=B1=E7=9A=84?= =?UTF-8?q?=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/renderer/core/share/list.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/renderer/core/share/list.js b/src/renderer/core/share/list.js index a44f75bd..b8ea0cd0 100644 --- a/src/renderer/core/share/list.js +++ b/src/renderer/core/share/list.js @@ -18,7 +18,10 @@ export const allListInit = (newLists) => { } allListUpdate(defaultList.id, newLists.defaultList.list) allListUpdate(loveList.id, newLists.loveList.list) - if (newLists.tempList) allListUpdate(tempList.id, newLists.tempList.list) + if (newLists.tempList) { + allListUpdate(tempList.id, newLists.tempList.list) + tempList.meta = newLists.tempList.meta ?? {} + } userLists.splice(0, userLists.length) for (const { list, ...listInfo } of newLists.userList) { allListUpdate(listInfo.id, list)