This commit is contained in:
2019-04-15 23:27:34 +00:00
parent a831ab3e65
commit d81cfe62b4
7 changed files with 64 additions and 29 deletions

View File

@@ -127,7 +127,11 @@ export default {
]);
},
created() {
this.$store.commit("setAppBarMainState");
this.$store.commit("setAppBar", {
isMain: true,
icon: "fa-info-circle",
title: this.$gzlocale.get("HelpAboutAyaNova")
});
this.clientInfo.version = aboutInfo.version;
this.$gzapi
.get("ServerInfo")

View File

@@ -9,8 +9,12 @@ export default {
components: {
HelloWorld
},
created() {
this.$store.commit("setAppBarMainState");
beforeCreate() {
this.$store.commit("setAppBar", {
isMain: true,
icon: "fa-home",
title: this.$gzlocale.get("Home")
});
}
};
</script>

View File

@@ -171,7 +171,7 @@ export default {
});
},
created() {
this.$store.commit("setContextAppBar", {
this.$store.commit("setAppBar", {
isMain: false,
icon: "fa-splotch",
title: this.$gzlocale.get("Widget")

View File

@@ -48,7 +48,11 @@ export default {
});
},
created() {
this.$store.commit("setAppBarMainState");
this.$store.commit("setAppBar", {
isMain: true,
icon: "fa-dolly",
title: this.$gzlocale.get("Inventory")
});
},
components: {
WidgetList,

View File

@@ -65,7 +65,11 @@ export default {
};
},
created() {
this.$store.commit("setAppBarMainState");
this.$store.commit("setAppBar", {
isMain: true,
icon: "",
title: ""
});
},
methods: {
login() {