fix: increase timeout duration for content height calculation in page component
parent
811801b70c
commit
eb100d9dfc
|
|
@ -55,7 +55,7 @@ async function calcContentHeight() {
|
||||||
footerHeight.value = footerRef.value?.offsetHeight || 0;
|
footerHeight.value = footerRef.value?.offsetHeight || 0;
|
||||||
setTimeout(() => {
|
setTimeout(() => {
|
||||||
shouldAutoHeight.value = true;
|
shouldAutoHeight.value = true;
|
||||||
}, 30);
|
}, 100);
|
||||||
}
|
}
|
||||||
|
|
||||||
onMounted(() => {
|
onMounted(() => {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue