8197-VnCardMain #1044
|
@ -15,7 +15,6 @@ onMounted(
|
|||
() => (stateStore.leftDrawer = useQuasar().screen.gt.xs ? $props.leftDrawer : false)
|
||||
);
|
||||
|
||||
const targetId = 'left-panel';
|
||||
const teleportRef = ref({});
|
||||
alexm marked this conversation as resolved
Outdated
|
||||
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" />
|
||||
alexm marked this conversation as resolved
Outdated
jorgep
commented
template en lugar de div es posible? template en lugar de div es posible?
alexm
commented
Al ser para un teleport siempre lo he visto con div, lo pruebo Al ser para un teleport siempre lo he visto con div, lo pruebo
alexm
commented
No puede ser template, deja de funcionar No puede ser template, deja de funcionar
|
||||
</QScrollArea>
|
||||
</QDrawer>
|
||||
|
|
Loading…
Reference in New Issue
Para que quieres una variable que solo se usa en 1 sitio?
Antes de poner lo del ref la usaba 2 veces, lo quito