perf: refs #8197 perf
This commit is contained in:
parent
b54f39f1a0
commit
76b73cc616
|
@ -15,7 +15,6 @@ onMounted(
|
|||
() => (stateStore.leftDrawer = useQuasar().screen.gt.xs ? $props.leftDrawer : false)
|
||||
);
|
||||
|
||||
const targetId = 'left-panel';
|
||||
const teleportRef = ref({});
|
||||
const hasContent = ref();
|
||||
let observer;
|
||||
|
@ -37,7 +36,7 @@ onMounted(() => {
|
|||
<template>
|
||||
<QDrawer v-model="stateStore.leftDrawer" show-if-above :width="256">
|
||||
<QScrollArea class="fit text-grey-8">
|
||||
<div :id="targetId" ref="teleportRef"></div>
|
||||
<div id="left-panel" ref="teleportRef"></div>
|
||||
<LeftMenu v-if="!hasContent" />
|
||||
</QScrollArea>
|
||||
</QDrawer>
|
||||
|
|
Loading…
Reference in New Issue