quanyawei
2024-06-18 6b7604951f61b7033cc643afe0e4ca67565a1a36
src/layout/components/Sidebar/index.vue
@@ -1,6 +1,9 @@
<template>
  <div :class="{ 'has-logo': showLogo }">
    <logo v-if="showLogo" :collapse="isCollapse" />
    <logo
      v-if="showLogo"
      :collapse="isCollapse"
    />
    <!-- <div class="logo" style="display:flex;background: #0f4567;">
      <img
        style="width: 20px; height: 30px;margin: 8px 0 11px 18px"
@@ -49,10 +52,11 @@
      'sidebar'
    ]),
    sidebar() {
      console.log('左边sidebar', this.$store.state.app.sidebar)
      return this.$store.state.app.sidebar
    },
    routes() {
      // console.log(this.$router.options.routes)
      console.log('左边routes', this.$router.options.routes)
      return this.$router.options.routes
    },
    activeMenu() {