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

<script>
  import Vue from "vue";
  import {
    mapState,
    mapGetters
  } from "vuex";
  export default {
    computed: {
      ...mapState({
        oneFlameTableInfo: (state) => state.global.oneFlameTableInfo,
        flameTableInfo: (state) => state.global.flameTableInfo,
        userInfo:(state) => state.global.userInfo,
      }),
    },
    mounted() {
      let that = this;
      that.init();
      // console.log("user_type:", that.user_type);
    },
    methods: {
      init() {
        let that = this;
        // that.$store.dispatch("global/getFlameTableInfo");
      },
    },
  };
</script>

<style lang="scss">
  @import "./ui/element-ui/element-variables.scss";

  html,
  body,
  #app,
  .el-container {
    /*设置内部填充为0，几个布局元素之间没有间距*/
    padding: 0;
    /*外部间距也是如此设置*/
    margin: 0;
    /*统一设置高度为100%*/
    height: 100%;
  }
  #app {
    width: 100vw;
    height: 100vh;  
  }
</style>
