Преглед на файлове

左右两侧高亮问题

zpf преди 11 месеца
родител
ревизия
42b1c5652b
променени са 1 файла, в които са добавени 8 реда и са изтрити 7 реда
  1. 8 7
      src/views/map3d.vue

+ 8 - 7
src/views/map3d.vue

@@ -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);