|
@@ -1032,8 +1032,10 @@ $(document).ready(() => {
|
|
|
copyBlockList.push(sheet.zh_tree.getDefaultData(posterity));
|
|
|
}
|
|
|
for (const cbl of copyBlockList) {
|
|
|
- const posRange = pos.getLedgerPos(cbl.id);
|
|
|
- if (posRange && posRange.length > 0) cbl.pos = posRange;
|
|
|
+ for (const b of cbl) {
|
|
|
+ const posRange = pos.getLedgerPos(b.id);
|
|
|
+ if (posRange && posRange.length > 0) b.pos = posRange;
|
|
|
+ }
|
|
|
}
|
|
|
setLocalCache(copyBlockTag, JSON.stringify({ block: copyBlockList }));
|
|
|
},
|