diff --git a/src/routes/_components/shortcut/ScrollListShortcuts.html b/src/routes/_components/shortcut/ScrollListShortcuts.html index f4b23463..d8fa93f0 100644 --- a/src/routes/_components/shortcut/ScrollListShortcuts.html +++ b/src/routes/_components/shortcut/ScrollListShortcuts.html @@ -15,7 +15,7 @@ export default { data: () => ({ scope: 'global', - itemToKey: (item) => item.key, + itemToKey: (item) => item, keyToElement: (key) => { return document.querySelector(`[shortcut-key=${JSON.stringify(key)}]`) }, diff --git a/src/routes/_components/virtualList/VirtualList.html b/src/routes/_components/virtualList/VirtualList.html index 1dd36750..dd515fd7 100644 --- a/src/routes/_components/virtualList/VirtualList.html +++ b/src/routes/_components/virtualList/VirtualList.html @@ -18,8 +18,7 @@ {/if} - visibleItem.key} /> +