This commit is contained in:
@@ -8,10 +8,15 @@
|
||||
</template>
|
||||
|
||||
<script>
|
||||
/* eslint-disable */
|
||||
import _ from "../utils/libs/lodash.js";
|
||||
/* Xeslint-disable */
|
||||
export default {
|
||||
created() {
|
||||
var outText = "";
|
||||
this.$_.forEach(this.$store.state.logArray, function(value) {
|
||||
outText += value + "\n";
|
||||
});
|
||||
this.logText = outText;
|
||||
|
||||
this.$gzlocale
|
||||
.fetch(["Log"])
|
||||
.then(() => (this.ready = true))
|
||||
@@ -21,13 +26,6 @@ export default {
|
||||
},
|
||||
data() {
|
||||
return { logText: "", ready: false };
|
||||
},
|
||||
mounted() {
|
||||
var outText = "";
|
||||
_.forEach(this.$store.state.logArray, function(value) {
|
||||
outText += value + "\n";
|
||||
});
|
||||
this.logText = outText;
|
||||
}
|
||||
};
|
||||
</script>
|
||||
|
||||
Reference in New Issue
Block a user