fix: layout drawer on xs
This commit is contained in:
parent
fd5532b46a
commit
e8b273eabf
1 changed files with 6 additions and 2 deletions
|
|
@ -46,7 +46,7 @@ const userStore = useUserStore();
|
|||
const rawOption = ref();
|
||||
const canvasModal = ref(false);
|
||||
|
||||
const leftDrawerOpen = ref(true);
|
||||
const leftDrawerOpen = ref<boolean>(false);
|
||||
const leftDrawerMini = ref(false);
|
||||
|
||||
const filterUnread = ref(false);
|
||||
|
|
@ -143,6 +143,7 @@ watch(
|
|||
|
||||
onMounted(async () => {
|
||||
await fetchListMyBranch(getUserId() ?? '');
|
||||
leftDrawerOpen.value = $q.screen.gt.xs ? true : false;
|
||||
|
||||
const getCurLang = localStorage.getItem('currentLanguage');
|
||||
if (getCurLang) currentLanguage.value = getCurLang;
|
||||
|
|
@ -260,7 +261,10 @@ onMounted(async () => {
|
|||
}}
|
||||
</span>
|
||||
<div class="flex items-center" style="gap: var(--size-1)">
|
||||
<template v-for="(item, i) in utilsStore.currentTitle.path">
|
||||
<template
|
||||
v-for="(item, i) in utilsStore.currentTitle.path"
|
||||
:key="i"
|
||||
>
|
||||
<span
|
||||
class="text-caption cursor-pointer"
|
||||
@click="item.handler?.()"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue