田源
2024-12-23 980df9f28ab644d20ea73e39665f3d61f00cf94e
Source/plt-web/plt-web-ui/src/page/index/sidebar/sidebarItem.vue
@@ -14,7 +14,7 @@
                  :key="item[labelKey]"
                  :index="item[pathKey]">
        <template slot="title">
          <i :class="item[iconKey]"></i>
          <i :class="item[iconKey]" style="margin-right: 10px"></i>
          <span slot="title"
                :class="{'el-menu--display':collapse && first}">{{ generateTitle(item) }}</span>
        </template>
@@ -24,7 +24,7 @@
                        :class="{'is-active':vaildActive(child)}"
                        :index="child[pathKey],cindex"
                        @click="open(child)">
            <i :class="child[iconKey]"></i>
            <i :class="child[iconKey]" style="margin-right: 10px"></i>
            <span slot="title">{{ generateTitle(child) }}</span>
          </el-menu-item>
          <sidebar-item v-else