App.vue 513 Bytes
<template>
  <div id="app" class="blue">
    <router-view />
  </div>
</template>
<script>
export default {
  data() {
    return {
      
    }
  },
  
  created(){
    let menus = JSON.parse(localStorage.getItem('menu'))
    if(menus) {
        this.$store.dispatch('GetMenuRole',menus).then(res => {})
    }
  },
  mounted(){
    
  }
}
</script>
<style lang="scss">
#app {
  height: 100%;
  font-family:MicrosoftYaHeiUI;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
</style>