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