feat: default open drawer
This commit is contained in:
parent
6ab696fd60
commit
04a8c71f2d
1 changed files with 9 additions and 0 deletions
|
|
@ -285,6 +285,15 @@ const downloadManualAll = () => {
|
||||||
class="menuSub"
|
class="menuSub"
|
||||||
expand-icon="mdi-chevron-down"
|
expand-icon="mdi-chevron-down"
|
||||||
expanded-icon="mdi-chevron-up"
|
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>
|
<template v-slot:header>
|
||||||
<q-item-section avatar>
|
<q-item-section avatar>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue