[fix] navigation-drawer
This commit is contained in:
parent
b1cb13d10c
commit
9d2378c04e
4 changed files with 6 additions and 10 deletions
|
@ -618,9 +618,7 @@ const app = new Vue({
|
|||
}]
|
||||
}},
|
||||
methods: {
|
||||
openSidebar() {
|
||||
this.sidebar = !this.sidebar;
|
||||
},
|
||||
|
||||
search(){
|
||||
this.$router.push({path: 'search',query: { q: this.q }})
|
||||
}
|
||||
|
|
|
@ -55,13 +55,13 @@
|
|||
<v-divider></v-divider>
|
||||
<v-list-item v-for="item in items" :key="item">
|
||||
|
||||
<v-list-tile >
|
||||
<v-list-tile :href="item.href" router="true">
|
||||
|
||||
<v-list-tile-action>
|
||||
<v-icon>{{ item.icon }}</v-icon>
|
||||
</v-list-tile-action>
|
||||
<v-list-tile-content>
|
||||
<v-list-tile-title ><router-link :to="item.href">{{ item.title }}</router-link></v-list-tile-title>
|
||||
<v-list-tile-title >{{ item.title }}</v-list-tile-title>
|
||||
</v-list-tile-content>
|
||||
|
||||
</v-list-tile>
|
||||
|
|
|
@ -100,9 +100,7 @@ const app = new Vue({
|
|||
}]
|
||||
}},
|
||||
methods: {
|
||||
openSidebar() {
|
||||
this.sidebar = !this.sidebar;
|
||||
},
|
||||
|
||||
search(){
|
||||
this.$router.push({path: 'search',query: { q: this.q }})
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue