MrShi
2025-02-12 3e4625e7951cb6dcfab077e535782eee7b0b70fb
admin/src/components/common/tagsview.vue
@@ -151,8 +151,8 @@
    },
    // 通过判断路由一致返回布尔值添加class,添加高亮效果
    isActive(route,params, index) {
      const res =(route === this.$route.path && params== this.$route.query.param)
      return res
      // const res =(route === this.$route.path && params== this.$route.query.param)
      return route === this.$route.path
    },
    scrollToStart() {
      const tagsDiv = document.getElementById('tags-box')
@@ -237,6 +237,7 @@
//标签高亮
.active {
  color: #2080f7;
  box-sizing: border-box;
  border-bottom: 2px solid #2080f7;
}
//右键菜单样式