fix: 增加菜单路由跳转
This commit is contained in:
@@ -49,7 +49,8 @@ $--color-monitor: #98AEC5; //全局停用色灰色
|
||||
|
||||
$--chart-single-value-icon-background-color: #E8F6FF;
|
||||
|
||||
$--content-right-background-color: #fff; //右侧背景色
|
||||
//$--content-right-background-color: #fff; //右侧背景色
|
||||
$--content-right-background-color: #EFF2F5;
|
||||
|
||||
// 空白背景色
|
||||
$--background-color-empty: #fffffe;
|
||||
|
||||
@@ -95,7 +95,7 @@
|
||||
:show-close="false"
|
||||
>
|
||||
<div class="cn-menu__left">
|
||||
<div class="left-menu" v-for="menu in otherMenu" :key="menu.id">
|
||||
<div class="left-menu" v-for="menu in otherMenu" :key="menu.id" @click="jump(menu.route)">
|
||||
<i :class="menu.icon"></i>
|
||||
<span>{{$t(menu.i18n || menu.name)}}</span>
|
||||
<i class="cn-icon cn-icon-right"></i>
|
||||
@@ -453,17 +453,18 @@ export default {
|
||||
params: { ...this.$route.params, fourthPanel: '', thirdPanel: '' }
|
||||
})
|
||||
}
|
||||
|
||||
if (route === this.route) {
|
||||
this.refresh()
|
||||
return
|
||||
}
|
||||
if (route) {
|
||||
this.$router.push({
|
||||
path: route,
|
||||
query: {
|
||||
t: +new Date()
|
||||
}
|
||||
})
|
||||
}
|
||||
},
|
||||
dropDownSearch () {
|
||||
this.curPageNum = 1
|
||||
|
||||
@@ -16,7 +16,7 @@ export const pieChartOption1 = {
|
||||
color: chartColor1,
|
||||
legend: {
|
||||
orient: 'vertical',
|
||||
top: 35,
|
||||
top: '25%',
|
||||
left: '50%',
|
||||
itemGap: 4,
|
||||
itemWidth: 15,
|
||||
|
||||
Reference in New Issue
Block a user