fix(style) sidebar default collapsed
This commit is contained in:
parent
96e9004928
commit
132e236750
|
@ -15,7 +15,7 @@ import Layout from '~/components/ui/Layout.vue'
|
|||
import Spacer from '~/components/ui/layout/Spacer.vue'
|
||||
import { useRoute } from 'vue-router'
|
||||
|
||||
const isCollapsed = ref(false)
|
||||
const isCollapsed = ref(true)
|
||||
|
||||
const route = useRoute()
|
||||
watch(() => route.path, () => ( isCollapsed.value = true ))
|
||||
|
|
Loading…
Reference in New Issue