王震
2023-12-19 2fa578a18ed9055f8cb9863a8a0f02977cfa8350
src/page/index/sidebar/sidebarItem.vue
@@ -25,7 +25,7 @@
        <template v-for="(child,cindex) in item[childrenKey]">
          <el-menu-item
            v-if="validatenull(child[childrenKey])"
            :index="child[pathKey],cindex"
            :index="child[pathKey]"
            :class="{'is-active':vaildAvtive(child)}"
            :key="child[labelKey]"
          >
@@ -122,8 +122,6 @@
      return validatenull(val)
    },
    open(item) {
      console.log(item[this.labelKey])
      console.log(item[this.pathKey])
      if (this.screen <= 1) this.$store.commit('SET_COLLAPSE');
      this.$router.$avueRouter.group = item.group;
      if(item[this.labelKey]=='工作台'){