App.vue 999 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(){
		window.videoEquitTableHeight = document.body.clientHeight - 142 + 'px';
		window.opsTableHeight = document.body.clientHeight - 260 + 'px';
		if(document.body.clientWidth>1366){
			window.oneSearchTableHeight = document.body.clientHeight - 250 + 'px';
			window.twoSearchTableHeight = document.body.clientHeight - 280 + 'px';

		}else {
			window.oneSearchTableHeight = document.body.clientHeight - 280 + 'px';
			window.twoSearchTableHeight = document.body.clientHeight - 315 + 'px';
		}

  }
}
</script>
<style lang="scss">
#app {
  height: 100%;
  font-family:MicrosoftYaHeiUI;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
</style>