<template>
  <div class="full-h full-w">
    <div class="full-w full-h"><router-view/></div>
  </div>
</template>

<script>

export default {
  components: {
  },
  data() {
    return {
      isInit: false,
    };
  },
  computed: {
    showMenu() {
      return this.$store.state.dataset.menuShow
    },
    menu() {
      return this.$store.getters.menu;
    },
    path() {
      return this.$route.path;
    },
    params() {
      return this.$route.params;
    },
  },
  created() {
    localStorage.removeItem("pathdata");
    localStorage.removeItem("pathActive");
    localStorage.removeItem("pathList");
  },
  mounted() {
    this.init();
  },
  methods: {
    async init() {
      // await this.$store.dispatch("QUERY_MENU");
      this.isInit = true;
    },
  },
};
</script>

<style lang="less" scoped>
#app {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  color: #2c3e50;
  height: 100%;
  width: 100%;
}

.full-h {
  height: 100vh;
}

.full-w {
  width: 100%;
}
</style>
<style>
.l7-popup .l7-popup-content{
  background: transparent !important;
}
</style>
