<!--
白名单管理
@Author: linqian
@Date: 2021-07-07 13:58
-->
<template>
  <div>
    <el-tabs v-model="activeName" type="card" @tab-click="handleClickTab">
      <el-tab-pane v-for="item in tabList" :key="item.name" :label="item.label" :name="item.name"></el-tab-pane>
      <component :is="activeName"></component>
    </el-tabs>
  </div>
</template>

<script>
import UserList from './component/user-list';
export default {
  components: {
    UserList
  },
  data() {
    return {
      activeName: 'user-list',
      tabList: [
        {
          label: '人员白名单管理',
          name: 'user-list'
        }
      ]
    };
  },
  computed: {},
  methods: {
    handleClickTab(tab) {

    }
  },
  created() {},
  mounted() {}
};
</script>

<style lang='scss'>
</style>