diff --git a/src/renderer/store/modules/list.js b/src/renderer/store/modules/list.js index 10af48b6..6dc9b97f 100644 --- a/src/renderer/store/modules/list.js +++ b/src/renderer/store/modules/list.js @@ -64,20 +64,6 @@ const mutations = { if (defaultList != null) Object.assign(state.defaultList, { list: defaultList.list, location: defaultList.location }) if (loveList != null) Object.assign(state.loveList, { list: loveList.list, location: loveList.location }) if (userList != null) state.userList = userList - if (window.localStorage.getItem('isResetOtherSource') != '1') { - for (const item of defaultList.list) { - if (item.otherSource) item.otherSource = null - } - for (const item of loveList.list) { - if (item.otherSource) item.otherSource = null - } - for (const list of userList) { - for (const item of list.list) { - if (item.otherSource) item.otherSource = null - } - } - window.localStorage.setItem('isResetOtherSource', '1') - } allListInit(state.defaultList, state.loveList, state.userList) state.isInitedList = true },