feat: default open drawer

This commit is contained in:
oat_dev 2024-07-01 10:36:19 +07:00
parent 6ab696fd60
commit 04a8c71f2d

View file

@ -285,6 +285,15 @@ const downloadManualAll = () => {
class="menuSub"
expand-icon="mdi-chevron-down"
expanded-icon="mdi-chevron-up"
:default-opened="
!!route.params.name
? index === 1
? route.params.name.includes('admin')
: index === 2
? route.params.name.includes('user')
: false
: false
"
>
<template v-slot:header>
<q-item-section avatar>