zhangzengfei
2022-10-10 3cd25b6bb9ec57ae86ff09df13099e2d63a0a7fb
src/views/subAccount/index.vue
@@ -12,7 +12,18 @@
    <!-- 主要内容 -->
    <div class="content">
      <SubAccount></SubAccount>
      <div style="padding: 20px;">
        <el-tabs v-model="activeName" @tab-click="handleClick">
          <el-tab-pane name="account">
            <span slot="label"><i class="el-icon-s-home"></i> 子账号管理</span>
            <SubAccount></SubAccount>
          </el-tab-pane>
          <el-tab-pane name="point">
            <span slot="label"><i class="el-icon-s-platform"></i> 登录日志</span>
            <EntryLog></EntryLog>
          </el-tab-pane>
        </el-tabs>
      </div>
    </div>
    <!-- 页尾 -->
@@ -22,17 +33,28 @@
<script>
import IndexHeader from "@/components/IndexHeader"
// import DevList from "@/views/report/components/DevList"
import SubAccount from "@/views/personalCenter/components/SubAccount.vue"
// import SettingBox from "@/views/report/components/SettingBox"
import EntryLog from "./entryLog.vue"
import Footer from "@/components/Footer"
export default {
  components: {
    IndexHeader,
    SubAccount
    SubAccount,
    EntryLog
    // SettingBox,
    // Footer
  },
  data() {
    return {
      activeName: "account"
    }
  },
  methods: {
    handleClick(tab, event) {
      // console.log(tab, event, this.activeName)
    }
  }
}
</script>