<template>
  <div id="index">
    <el-tabs v-model="active" type="card">
      <el-tab-pane label="许可" name="first">
        <list type="0"></list>
      </el-tab-pane>
      <el-tab-pane label="转让" name="second">
        <list type="1"></list>
      </el-tab-pane>
      <el-tab-pane label="质押" name="third">
        <list type="2"></list>
      </el-tab-pane>
    </el-tabs>
  </div>
</template>

<script>
import list from './parts/list.vue';
import { mapState, createNamespacedHelpers } from 'vuex';
export default {
  name: 'index',
  props: {},
  components: { list },
  data: function () {
    return {
      active: 'first',
    };
  },
  created() {},
  methods: {},
  computed: {
    ...mapState(['user']),
    pageTitle() {
      return `${this.$route.meta.title}`;
    },
  },
  metaInfo() {
    return { title: this.$route.meta.title };
  },
};
</script>

<style lang="less" scoped></style>
