<template>
</template>

<script lang="ts">
import {
  defineComponent,
  computed,
  onMounted,
  ref,
  reactive,
  watch,
  getCurrentInstance,
  ComponentInternalInstance,
  toRefs,
  nextTick
} from 'vue'
import {useStore} from 'vuex'
import {useRouter, useRoute} from 'vue-router'
import * as source from "ol/source";
import * as layer from "ol/layer";
import * as format from "ol/format";

export default defineComponent({
  name: '',
  components: {},
  setup() {
    const store = useStore();
    const router = useRouter();
    const route = useRoute();
    const that = (getCurrentInstance() as ComponentInternalInstance).appContext.config.globalProperties
    const state = reactive({
    })
    onMounted(() => {
      localStorage.setItem('auth', 'emmmmmm')
      router.push('/')
    })
    return {
      ...toRefs(state),
    }
  },
})
</script>

<style scoped lang="scss">
</style>
