叶松
2023-09-21 9a85bb2218c8a0ef3b9c20efabeecf26886cbef8
web/src/views/LayoutIndex/components/LayoutAside.vue
@@ -31,9 +31,15 @@
                  </el-submenu>
                </template>
                <template v-else-if="three.children && three.children.length === 1">
                  <el-menu-item :index="three.children[0].path" :key="three.children[0].name">
                  <el-submenu :key="three.name" :index="three.path">
                    <template slot="title">
                      <span>{{three.meta.title}}</span>
                    </template>
                    <el-menu-item :index="three.children[0].path" :key="three.children[0].name">{{three.children[0].meta.title}}</el-menu-item>
                  </el-submenu>
                  <!-- <el-menu-item :index="three.children[0].path" :key="three.children[0].name">
                    <span slot="title">{{three.children[0].meta.title}}</span>
                  </el-menu-item>
                  </el-menu-item> -->
                </template>
                <template v-else>
                  <el-menu-item :index="three.path" :key="three.name">