parent
f35bafb88a
commit
7665cbea01
|
@ -145,6 +145,7 @@ const List = defineComponent({
|
|||
watch(
|
||||
[inVirtual, useVirtual, () => state.scrollTop, mergedData, heights, () => props.height],
|
||||
() => {
|
||||
nextTick(() => {
|
||||
if (!useVirtual.value) {
|
||||
calRes.value = {
|
||||
scrollHeight: undefined,
|
||||
|
@ -211,8 +212,9 @@ const List = defineComponent({
|
|||
end: endIndex,
|
||||
offset: startOffset,
|
||||
};
|
||||
});
|
||||
},
|
||||
{ immediate: true },
|
||||
{ immediate: true, flush: 'post' },
|
||||
);
|
||||
|
||||
// =============================== In Range ===============================
|
||||
|
|
Loading…
Reference in New Issue