<template>
  <div id="app">
    <router-view />
  </div>
</template>

<script>
import { getLanguage } from './utils/auth.js'
export default {
  name: 'App',
  mounted: function () {
    let language = getLanguage()
    console.log('the language is:' + language)
    this.$i18n.locale = language || 'zh'
  }
}
</script>

<style>
</style>
