mirror of
https://github.com/gedoor/legado.git
synced 2025-08-10 00:52:30 +00:00
Update PopCatalog.vue
This commit is contained in:
@@ -79,6 +79,7 @@ const virtualListIndex = computed(() => {
|
||||
|
||||
onUpdated(() => {
|
||||
// dom更新触发ResizeObserver,更新虚拟列表内部的sizes Map
|
||||
if (!popCataVisible.value) return;
|
||||
virtualListRef.value.scrollToIndex(virtualListIndex.value);
|
||||
});
|
||||
</script>
|
||||
|
||||
Reference in New Issue
Block a user