mirror of https://github.com/statping/statping
removed app.vue lint changes
parent
9ebb8e717d
commit
84958f84b1
|
@ -7,6 +7,7 @@
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
const Footer = () => import(/* webpackChunkName: "index" */ "./components/Index/Footer");
|
const Footer = () => import(/* webpackChunkName: "index" */ "./components/Index/Footer");
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
name: 'app',
|
name: 'app',
|
||||||
components: {
|
components: {
|
||||||
|
@ -25,8 +26,10 @@
|
||||||
},
|
},
|
||||||
async beforeMount() {
|
async beforeMount() {
|
||||||
await this.$store.dispatch('loadCore')
|
await this.$store.dispatch('loadCore')
|
||||||
|
|
||||||
this.$i18n.locale = this.core.language || "en";
|
this.$i18n.locale = this.core.language || "en";
|
||||||
// this.$i18n.locale = "ru";
|
// this.$i18n.locale = "ru";
|
||||||
|
|
||||||
if (!this.core.setup) {
|
if (!this.core.setup) {
|
||||||
this.$router.push('/setup')
|
this.$router.push('/setup')
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue