吉安感知网项目-前端
shuishen
2026-01-07 c351fd267d0bc5a2b69a6fa5897b51ecd03b1766
feat:左侧菜单列表显示调整
1 files modified
13 ■■■■ changed files
applications/drone-command/src/page/index/sidebar/sidebarItem.vue 13 ●●●● patch | view | raw | blame | history
applications/drone-command/src/page/index/sidebar/sidebarItem.vue
@@ -1,3 +1,13 @@
<!--
 * @Author       : yuan
 * @Date         : 2026-01-06 09:47:09
 * @LastEditors  : yuan
 * @LastEditTime : 2026-01-07 15:01:16
 * @FilePath     : \applications\drone-command\src\page\index\sidebar\sidebarItem.vue
 * @Description  :
 * Copyright 2026 OBKoro1, All Rights Reserved.
 * 2026-01-06 09:47:09
-->
<template>
  <template v-for="item in menu">
    <el-menu-item
@@ -6,7 +16,6 @@
      @click="open(item)"
      :key="item[labelKey]"
    >
      <i :class="item[iconKey]"></i>
      <template #title>
        <span :alt="item[pathKey]">{{ getTitle(item) }}</span>
      </template>
@@ -17,7 +26,6 @@
      :key="item[labelKey]"
    >
      <template #title>
        <i :class="item[iconKey]"></i>
        <span>{{ getTitle(item) }}</span>
      </template>
      <template v-for="(child, cindex) in item[childrenKey]" :key="child[labelKey]">
@@ -26,7 +34,6 @@
          @click="open(child)"
          v-if="validatenull(child[childrenKey])"
        >
          <i :class="child[iconKey]"></i>
          <template #title>
            <span>{{ getTitle(child) }}</span>
          </template>