feat: chart-tabs

This commit is contained in:
chenjinsong
2021-07-02 15:17:40 +08:00
parent 4089177de1
commit 37baffbc80
2 changed files with 7 additions and 1 deletions

View File

@@ -1,5 +1,10 @@
<template>
<el-tabs class="cn-chart cn-chart__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-tab-pane label="角色管理" name="third">角色管理</el-tab-pane>
<el-tab-pane label="定时任务补偿" name="fourth">定时任务补偿</el-tab-pane>
</el-tabs>
</template>
<script>

View File

@@ -8,6 +8,7 @@
<chart-tabs
v-else-if="isTabs"
class="cn-chart cn-chart__tabs"
:tabs="chartInfo"
></chart-tabs>
<!-- 地图 -->
<chart-map