feat: fix menu
This commit is contained in:
parent
2a8552d06f
commit
867ba7746d
|
|
@ -127,4 +127,12 @@ const logOut = async () => {
|
||||||
await logout();
|
await logout();
|
||||||
return navigateTo("/login");
|
return navigateTo("/login");
|
||||||
};
|
};
|
||||||
|
|
||||||
|
onMounted(() => {
|
||||||
|
if (mdAndDown.value) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
|
drawer.value = true;
|
||||||
|
})
|
||||||
</script>
|
</script>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue