<template>
  <el-card>
    <el-tabs v-model="activeName" class="system-setting">

      <!--      <el-tab-pane :label="$t('system_config.base_config')" name="base">-->
      <!--        <base-setting/>-->
      <!--      </el-tab-pane>-->
      <el-tab-pane :label="$t('display.title')" name="ui">
        <ui-setting />
      </el-tab-pane>
      <el-tab-pane :label="$t('system_parameter_setting.mailbox_service_settings')" name="email">
        <email-setting />
      </el-tab-pane>
    </el-tabs>
  </el-card>
</template>

<script>
import EmailSetting from './EmailSetting'
import UiSetting from './UiSetting'
// import { hasLicense } from '@/metersphere/common/js/utils'

// const requireComponent = require.context('@/metersphere/common/components/xpack/', true, /\.vue$/)
// const display = requireComponent.keys().length > 0 ? requireComponent('./display/Display.vue') : {}
// const auth = requireComponent.keys().length > 0 ? requireComponent('./auth/Auth.vue') : {}

export default {
  name: 'SystemParameterSetting',
  components: {
    UiSetting,
    EmailSetting
    // 'MsDisplay': display.default,
    // 'MsAuth': auth.default
  },
  data() {
    return {
      activeName: 'ui'
    }
  },
  methods: {
    // hasLicense
  }
}
</script>

<style scoped>

</style>
