diff --git a/src/components/Sidebar.vue b/src/components/Sidebar.vue index 11f0f25..cc24f42 100644 --- a/src/components/Sidebar.vue +++ b/src/components/Sidebar.vue @@ -78,21 +78,21 @@ export default { index: "/realTimeSearch", title: "历史图片", }, - // { - // icon: "iconfont icon-fubing", - // index: "/weatherIce", - // title: "气象覆冰", - // subs: [ - // { - // index: "/weather", - // title: "气象监测", - // }, - // { - // index: "/icing", - // title: "覆冰监测", - // }, - // ], - // }, + { + icon: "iconfont icon-fubing", + index: "/weatherIce", + title: "气象覆冰", + subs: [ + { + index: "/weather", + title: "气象监测", + }, + { + index: "/icing", + title: "覆冰监测", + }, + ], + }, { icon: "el-icon-files", index: "/property", diff --git a/src/router/index.js b/src/router/index.js index 84ab5b3..98177c7 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -206,7 +206,6 @@ const routes = [ name: "weather", meta: { title: "气象检测", - icon: "", keepAlive: true, requiresAuth: true, }, @@ -216,7 +215,7 @@ const routes = [ path: "/icing", component: () => import("../views/iceWeather/icing/index.vue"), name: "icing", - meta: { title: "覆冰", icon: "", keepAlive: true, requiresAuth: true }, + meta: { title: "覆冰监测", keepAlive: true, requiresAuth: true }, }, ], }, diff --git a/src/views/iceWeather/components/leftTree.vue b/src/views/iceWeather/components/leftTree.vue index ad1afa2..0dc9c5e 100644 --- a/src/views/iceWeather/components/leftTree.vue +++ b/src/views/iceWeather/components/leftTree.vue @@ -108,8 +108,8 @@ export default { }, }, created() { - this.getLineTreeList(); //获取树状图 - this.companyVal = this.companyOptions[0].value; + // this.getLineTreeList(); //获取树状图 + // this.companyVal = this.companyOptions[0].value; }, methods: { handleClick(val) {