maxiaoxiao 7 ヶ月 前
コミット
54f240bc5e
1 ファイル変更2 行追加2 行削除
  1. 2 2
      src/views/map3d.vue

+ 2 - 2
src/views/map3d.vue

@@ -71,7 +71,7 @@
           active-text-color="white"
         >
           <template v-for="(item, index) in menu_right">
-            <el-menu-item v-if="!item.children" :index="item.path">{{
+            <el-menu-item class="right-submenu" v-if="!item.children" :index="item.path">{{
               item.title
             }}</el-menu-item>
             <el-submenu
@@ -246,7 +246,7 @@ export default {
     GetRouters() {
       getRouters().then((res) => {
         this.menu_left = res.data[0].children.slice(0, 3);
-        this.menu_right = res.data[0].children.slice(3, 5);
+        this.menu_right = res.data[0].children.slice(3, 6);
 
         let curRouter = this.$router.currentRoute.path;
         if (curRouter == "/") {