mirror of
https://github.com/fanchenio/DawnLauncher.git
synced 2025-07-14 05:12:11 +08:00
fixed an issue where item opening information would also be copied when copying a item.
This commit is contained in:
parent
fb0ce7d3ca
commit
37a62c1cb5
@ -210,7 +210,7 @@ function copy(idList: Array<number>, toClassificationId: number) {
|
|||||||
let itemList = selectByIdList(false, idList);
|
let itemList = selectByIdList(false, idList);
|
||||||
if (itemList.length > 0) {
|
if (itemList.length > 0) {
|
||||||
// 清空打开信息
|
// 清空打开信息
|
||||||
resultList.forEach((item) => clearOpenInfo(item));
|
itemList.forEach((item) => clearOpenInfo(item));
|
||||||
// 批量添加
|
// 批量添加
|
||||||
resultList = batchAdd(toClassificationId, itemList);
|
resultList = batchAdd(toClassificationId, itemList);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user