This commit is contained in:
2019-04-17 23:54:40 +00:00
parent 57983a7a51
commit e5781ce914

View File

@@ -19,19 +19,18 @@
<span>{{ appBar.title}}</span>
</v-toolbar-title>
<v-spacer></v-spacer>
<v-toolbar-items>
<v-toolbar-items>
<template v-for="(item) in appBar.menuItems">
<v-btn
class="hidden-xs-only"
right
flat
right
icon
v-if="item.surface"
:key="item.key"
:disabled="item.disabled"
@click="$gzevent.$emit('menu-click',item)"
>
<v-icon :color="item.color?item.color:''">{{ "fa-" + item.icon }}</v-icon>
<v-icon :color="item.color ? item.color : ''">{{ "fa-" + item.icon }}</v-icon>
</v-btn>
</template>
<v-spacer></v-spacer>
@@ -93,7 +92,7 @@ import aboutInfo from "./api/aboutinfo";
import gzmenu from "./api/gzmenu";
export default {
name: "App",
//name: "App",
data() {
return {
drawer: null,
@@ -103,7 +102,8 @@ export default {
title: "",
helpUrl: "index.html",
menuItems: []
}
},
testcolor: "pink"
};
},
created() {