[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: {
|
methods: {
|
||||||
openSidebar() {
|
|
||||||
this.sidebar = !this.sidebar;
|
|
||||||
},
|
|
||||||
search(){
|
search(){
|
||||||
this.$router.push({path: 'search',query: { q: this.q }})
|
this.$router.push({path: 'search',query: { q: this.q }})
|
||||||
}
|
}
|
||||||
|
|
|
@ -55,13 +55,13 @@
|
||||||
<v-divider></v-divider>
|
<v-divider></v-divider>
|
||||||
<v-list-item v-for="item in items" :key="item">
|
<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-list-tile-action>
|
||||||
<v-icon>{{ item.icon }}</v-icon>
|
<v-icon>{{ item.icon }}</v-icon>
|
||||||
</v-list-tile-action>
|
</v-list-tile-action>
|
||||||
<v-list-tile-content>
|
<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-content>
|
||||||
|
|
||||||
</v-list-tile>
|
</v-list-tile>
|
||||||
|
|
|
@ -100,9 +100,7 @@ const app = new Vue({
|
||||||
}]
|
}]
|
||||||
}},
|
}},
|
||||||
methods: {
|
methods: {
|
||||||
openSidebar() {
|
|
||||||
this.sidebar = !this.sidebar;
|
|
||||||
},
|
|
||||||
search(){
|
search(){
|
||||||
this.$router.push({path: 'search',query: { q: this.q }})
|
this.$router.push({path: 'search',query: { q: this.q }})
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue