<template>
  <div
    id="app"
    style="
      flex-direction: column;
      display: flex;
      justify-content: space-between;
    "
  >
    <!--    <maiheader></maiheader>-->

    <router-view style="display: flex"></router-view>
  </div>
</template>

<script>
import maiheader from "@/components/header";
export default {
  name: "App",
  data() {
    return {
      timmer: "",
      active: 0,
    };
  },
  mounted() {
    let Auth = new WebGIS.Base.Auth();
    console.log(Auth);
    //  console.log(sessionStorage.getItem('x-thpower-token'))
    // Auth.LogoutUser({token:'bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ0ZW5hbnRfaWQiOiI0MjAxMDYiLCJ1c2VyX25hbWUiOiJqanMiLCJpc3MiOiJ0aHBvd2VyIiwicmVhbF9uYW1lIjpudWxsLCJhdmF0YXIiOiIiLCJhdXRob3JpdGllcyI6WyJudWxsIl0sImNsaWVudF9pZCI6InNhYmVyIiwicm9sZV9uYW1lIjoibnVsbCxudWxsLG51bGwsbnVsbCxudWxsIiwibGljZW5zZSI6InBvd2VyZWQgYnkgYmxhZGV4IiwicG9zdF9pZCI6IiIsInVzZXJfaWQiOiIyMTAwMDIiLCJyb2xlX2lkIjoiMTAyMCwxMDIxLDEwMjIsMTAyMywxMDI0Iiwic2NvcGUiOlsiYWxsIl0sIm5pY2tfbmFtZSI6Iue6quajgOWupCIsIm9hdXRoX2lkIjoiIiwiY2xpZW50LXZhbGlkaXR5LXNlY29uZHMiOjE0NDAwLCJleHAiOjE2NzE1MzEyNDAsImRlcHRfaWQiOiIyMDAwMDIiLCJleHBpcmVzX2luIjoxNDM5OSwianRpIjoiX1dfTmxnNE5aVkVSVFNlbGI1a3BiSXItc3lZIiwiYWNjb3VudCI6ImpqcyJ9.HiZo_qhi1aVwuo9SQO2Vh91amz1NHvSGNdVPopfPNnE'})
  },
  components: {
    maiheader,
  },
  methods: {
    onChange() {
      console.log(3333);
      console.log(this.active);
    },
  },
};
</script>

<style>
#app {
  background: #ffffff;
  font-family: Avenir, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-align: center;
  color: #2c3e50;
  /* margin-top: 60px;*/
}
</style>
