Commit 659386a3 authored by “yiyousong”'s avatar “yiyousong”

perf: 优化数据集市

parent 11f718ae
...@@ -12,7 +12,10 @@ ...@@ -12,7 +12,10 @@
<el-tabs :value="activeKey" @tab-click="changeRouter"> <el-tabs :value="activeKey" @tab-click="changeRouter">
<el-tab-pane v-for="v in subMenus" :key="v.path" :name="v.path"> <el-tab-pane v-for="v in subMenus" :key="v.path" :name="v.path">
<template slot="label"> <template slot="label">
<i v-if="v.meta.icon" :class="['mr5', 'primary', v.meta.icon]"></i> <i
v-if="v.meta.icon"
:class="['mr-[5px]', 'primary', v.meta.icon]"
></i>
<span class="tab-label">{{ v.meta.title }}</span> <span class="tab-label">{{ v.meta.title }}</span>
</template> </template>
</el-tab-pane> </el-tab-pane>
......
...@@ -115,6 +115,7 @@ const routes = [ ...@@ -115,6 +115,7 @@ const routes = [
meta: { meta: {
title: "排队数据报表", title: "排队数据报表",
activeMenu: "/market", activeMenu: "/market",
icon: "el-icon-guide",
}, },
}, },
{ {
...@@ -125,6 +126,7 @@ const routes = [ ...@@ -125,6 +126,7 @@ const routes = [
meta: { meta: {
title: "评价数据报表", title: "评价数据报表",
activeMenu: "/market", activeMenu: "/market",
icon: "el-icon-collection",
}, },
}, },
], ],
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment