Update PopCatalog.vue

This commit is contained in:
Xwite 2023-05-11 20:47:22 +08:00 committed by GitHub
parent 81f5340047
commit d2d7b9e557
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -79,6 +79,7 @@ const virtualListIndex = computed(() => {
onUpdated(() => {
// domResizeObserversizes Map
if (!popCataVisible.value) return;
virtualListRef.value.scrollToIndex(virtualListIndex.value);
});
</script>