[fix] navigation-drawer

This commit is contained in:
Andy Bunce 2017-05-22 17:29:42 +01:00
parent b1cb13d10c
commit 9d2378c04e
4 changed files with 6 additions and 10 deletions

View File

@ -97,7 +97,7 @@ const Edit=Vue.extend({
`,
data () {
return {
contentA: 'declare function local:query($q as xs:string)\n{\n<json type="object" >}',
contentA: 'declare function local:query($q as xs:string)\n { \n <json type="object" > }',
mode:'xquery',
url:'',
name:'',
@ -618,9 +618,7 @@ const app = new Vue({
}]
}},
methods: {
openSidebar() {
this.sidebar = !this.sidebar;
},
search(){
this.$router.push({path: 'search',query: { q: this.q }})
}

View File

@ -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>

View File

@ -100,9 +100,7 @@ const app = new Vue({
}]
}},
methods: {
openSidebar() {
this.sidebar = !this.sidebar;
},
search(){
this.$router.push({path: 'search',query: { q: this.q }})
}

View File

@ -102,7 +102,7 @@ v-on:annotation="annotation"></vue-ace>
template: '#edit',
data () {
return {
contentA: 'declare function local:query($q as xs:string)\n{\n<json type="object" >}',
contentA: 'declare function local:query($q as xs:string)\n { \n <json type="object" > }',
mode:'xquery',
url:'',
name:'',