configDetail.vue 999 Bytes
<template>
  <div class="channel-main">
    <el-tabs v-model="activeName" @tab-click="handleClick">
      <el-tab-pane label="营销配置" name="first"></el-tab-pane>
      <el-tab-pane label="客户列表" name="second"></el-tab-pane>
    </el-tabs>
    <component :is="activeName == 'first' ? configInfo : customList"></component>
    <!-- <GLFooter>
      <el-button type="primary" @click="goback">返回</el-button>
    </GLFooter> -->
  </div>
</template>

<script>
import configInfo from './components/configInfo'
import customList from './components/customList'
export default {
  name: 'config',
  components: {
    configInfo,
    customList
  },
  data() {
    return {
      activeName: 'first',
      customList: 'customList',
      configInfo: 'configInfo'
    }
  },
  methods: {
    goback() {
      this.$router.push('/market/index')
    }
  }
}
</script>
<style lang="scss" scoped>
.channel-main {
  /deep/ {
    .el-tabs__nav-wrap::after {
      height: 0px;
    }
  }
}
</style>