mirror of
https://github.com/em-squared/5e-drs.git
synced 2025-12-17 15:40:37 +00:00
spell + filtering + urlParams
This commit is contained in:
parent
d872002ee9
commit
da1547ab88
40 changed files with 1448 additions and 89 deletions
|
|
@ -1,17 +1,5 @@
|
|||
<template>
|
||||
<v-navigation-drawer class="main-drawer" v-model="drawer" :clipped="$vuetify.breakpoint.lgAndUp" width="300" app>
|
||||
<!-- <v-treeview
|
||||
item-key="path"
|
||||
item-text="title"
|
||||
:items="items"
|
||||
dense
|
||||
open-all
|
||||
hoverable
|
||||
open-on-click
|
||||
activatable
|
||||
@update:active="updateActive"
|
||||
>
|
||||
</v-treeview> -->
|
||||
<v-list dense nav>
|
||||
<template v-for="item in items">
|
||||
<v-list-group v-if="item.children" :key="item.title" v-model="item.expanded" :color="$site.themeConfig.accentColor">
|
||||
|
|
@ -87,12 +75,6 @@ export default {
|
|||
},
|
||||
|
||||
methods: {
|
||||
updateActive (active) {
|
||||
console.log(active)
|
||||
if (active[0] == undefined) return
|
||||
const path = active[0].replace('.html', '')
|
||||
this.$router.push(path)
|
||||
}
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
|
@ -123,11 +105,4 @@ export default {
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
// Case of treeview
|
||||
.v-treeview-node__level {
|
||||
width: 12px;
|
||||
}
|
||||
</style>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue