This commit is contained in:
@@ -39,9 +39,7 @@ import PartAssemblyTop from "../components/inventorypartassemblytop";
|
||||
|
||||
export default {
|
||||
beforeCreate() {
|
||||
//Cache all required lt keys
|
||||
var ltKeysRequired = ["Inventory"].concat(WidgetList.ltKeysRequired);
|
||||
this.$gzlocale.fetch(ltKeysRequired);
|
||||
this.$gzlocale.fetch(["Inventory"]);
|
||||
},
|
||||
components: {
|
||||
WidgetList,
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<template>
|
||||
<v-layout row v-if="this.ready">
|
||||
<v-layout row v-if="this.formReady">
|
||||
<v-flex>
|
||||
<h1>{{ this.$gzlocale.get("Log")}}</h1>
|
||||
<v-textarea v-model="logText" full-width readonly auto-grow></v-textarea>
|
||||
@@ -19,13 +19,13 @@ export default {
|
||||
|
||||
this.$gzlocale
|
||||
.fetch(["Log"])
|
||||
.then(() => (this.ready = true))
|
||||
.then(() => (this.formReady = true))
|
||||
.catch(err => {
|
||||
throw err;
|
||||
});
|
||||
},
|
||||
data() {
|
||||
return { logText: "", ready: false };
|
||||
return { logText: "", formReady: false };
|
||||
}
|
||||
};
|
||||
</script>
|
||||
|
||||
@@ -38,24 +38,12 @@
|
||||
</form>
|
||||
</v-flex>
|
||||
</v-layout>
|
||||
<!-- <v-footer>
|
||||
<v-layout>
|
||||
<v-flex primary py-2 text-xs-center white--text xs12>
|
||||
<div>
|
||||
<a href="https://ayanova.com" target="_blank">
|
||||
<span class="white--text caption">AyaNova ({{version}}) {{copyright}}</span>
|
||||
</a>
|
||||
</div>
|
||||
</v-flex>
|
||||
</v-layout>
|
||||
</v-footer> -->
|
||||
</v-container>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
/* xeslint-disable */
|
||||
import auth from "../api/auth";
|
||||
// import aboutInfo from "../api/aboutinfo";
|
||||
export default {
|
||||
name: "Login",
|
||||
data() {
|
||||
@@ -82,14 +70,6 @@ export default {
|
||||
}
|
||||
}
|
||||
},
|
||||
computed: {
|
||||
// copyright() {
|
||||
// return aboutInfo.copyright;
|
||||
// },
|
||||
// version() {
|
||||
// return aboutInfo.version;
|
||||
// }
|
||||
},
|
||||
beforeRouteEnter(to, from, next) {
|
||||
next(() => {
|
||||
auth.logout();
|
||||
|
||||
Reference in New Issue
Block a user