<script setup lang="ts">
import zhCn from 'element-plus/dist/locale/zh-cn.mjs'
import { useThemeStore } from '@/stores/theme'
// import { initMicro } from '@/utils/micro'

const locale = zhCn

const themeStore = useThemeStore()
themeStore.initTheme()

// 主服务初始化微服务
// initMicro()
</script>

<template>
  <el-config-provider :locale="locale">
    <router-view></router-view>
  </el-config-provider>
</template>

<style lang="scss">
.el-form--inline {
  .el-form-item {
    .el-input,
    .el-cascader,
    .el-select,
    .el-date-editor,
    .el-autocomplete {
      width: 192px;
    }
  }
}
</style>
