This commit is contained in:
2018-11-16 19:44:50 +00:00
parent 56517ce6e2
commit 4f6dd4f06b
7 changed files with 34 additions and 30 deletions

View File

@@ -14,8 +14,7 @@
<v-btn large icon to="/log">
<v-icon>fa-glasses</v-icon>
</v-btn>
</v-toolbar>
<!-- <v-img :src="require('../assets/bw-logo.svg')" class="my-3" contain height="100"></v-img> -->
</v-toolbar>
<v-list two-line subheader>
<v-subheader>{{ lt("ClientApp")}}</v-subheader>
<v-list-tile avatar>

View File

@@ -1,5 +1,6 @@
<template>
<div>
<h1>{{ lt("Log")}}</h1>
<span>{{log()}}</span>
</div>
</template>
@@ -9,15 +10,21 @@
//import lt from "../api/locale";
import store from "../store";
import lt from "../api/locale";
export default {
data() {
return {};
},
beforeMount() {},
beforeMount() {
lt.fetch(["Log"]);
},
mounted() {},
methods: {
log: function() {
return store.state.logArray;
},
lt: function(key) {
return lt.get(key);
}
}
};