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