|
@@ -137,15 +137,15 @@ export default {
|
|
|
handleMenuSelect(item) {
|
|
|
this.$router.push({ path: item });
|
|
|
|
|
|
- // if (item == "/checkmodel") {
|
|
|
- // store.setToolBarShow(true); //显示工具栏
|
|
|
- // // this.$refs.routeViewRef["switch"]();
|
|
|
+ if (item == "/checkmodel") {
|
|
|
+ store.setToolBarShow(true); //显示工具栏
|
|
|
+ // this.$refs.routeViewRef["switch"]();
|
|
|
|
|
|
- // } else {
|
|
|
- // store.setToolBarShow(false); //显示工具栏
|
|
|
- // // this.$refs.routeViewRef["switch"]();
|
|
|
+ } else {
|
|
|
+ store.setToolBarShow(false); //显示工具栏
|
|
|
+ // this.$refs.routeViewRef["switch"]();
|
|
|
|
|
|
- // }
|
|
|
+ }
|
|
|
|
|
|
|
|
|
|
|
@@ -185,6 +185,7 @@ export default {
|
|
|
this.$router.push({ path: item.path });
|
|
|
},
|
|
|
GetRouters() {
|
|
|
+
|
|
|
getRouters().then((res) => {
|
|
|
|
|
|
this.menu_left = res.data[0].children.slice(0, 3);
|