<script setup lang="ts">
import { areaObj } from "@/store/index.js"
const areaStroe = areaObj()




if (localStorage.getItem("TRADE_USER")) {
  let userInfo = JSON.parse(localStorage.getItem('TRADE_USER'))
  areaStroe.changeUserInfo(userInfo)
  let { area_code, street_code } = userInfo.user
  areaStroe.changeArea({ areaCode: area_code, streetCode: street_code })

}















</script>
<template>
  <div class="main-box">
    <router-view></router-view>
  </div>
</template>



<style lang="scss">
@import '/static/font/font.css';

* {
  margin: 0;
  padding: 0;
}

.main-box {
  width: 100vw;
  height: 100vh;
  background-color: #000C14;
  overflow: hidden;
}
</style>