This commit is contained in:
2019-04-15 22:49:43 +00:00
parent ea5431839f
commit 1f150b7561
8 changed files with 43 additions and 4 deletions

View File

@@ -127,6 +127,7 @@ export default {
]);
},
created() {
this.$store.commit("setNonContextAppBar");
this.clientInfo.version = aboutInfo.version;
this.$gzapi
.get("ServerInfo")

View File

@@ -1,5 +1,5 @@
<template>
<HelloWorld/>
<HelloWorld/>
</template>
<script>
@@ -8,6 +8,9 @@ import HelloWorld from "../components/HelloWorld";
export default {
components: {
HelloWorld
},
created() {
this.$store.commit("setNonContextAppBar");
}
};
</script>

View File

@@ -171,6 +171,9 @@ export default {
});
},
created() {
this.$store.commit("setContextAppBar", {
isContextual: true
});
this.getDataFromApi();
},
components: {},

View File

@@ -47,6 +47,9 @@ export default {
this.$gzHandleFormError(err);
});
},
created() {
this.$store.commit("setNonContextAppBar");
},
components: {
WidgetList,
WarehouseTop,

View File

@@ -64,6 +64,9 @@ export default {
errorBadCreds: false
};
},
created() {
this.$store.commit("setNonContextAppBar");
},
methods: {
login() {
if (this.input.username != "" && this.input.password != "") {