Update PopCatalog.vue
This commit is contained in:
1 parent
ff3a287572
commit
14bb34beea
1 file changed
+1
@@ -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