From 5bf298a5bff6ae5a36d02d7c1f56db857d6ff484 Mon Sep 17 00:00:00 2001
From: zhaojisen <1301338853@qq.com>
Date: Tue, 9 Jul 2024 11:07:01 +0800
Subject: [PATCH] fixed: Missing menu highlight in command group detail page
---
src/router/console/acls.js | 2 +-
.../CommandAcl/CommandFilterAcl/CommandFilterAclList.vue | 5 -----
.../CommandAcl/CommandGroup/CommandGroupDetail/index.vue | 8 +-------
.../acl/CommandAcl/CommandGroup/CommandGroupList.vue | 7 +------
src/views/acl/CommandAcl/index.vue | 2 --
5 files changed, 3 insertions(+), 21 deletions(-)
diff --git a/src/router/console/acls.js b/src/router/console/acls.js
index 7a91126fb..25a601845 100644
--- a/src/router/console/acls.js
+++ b/src/router/console/acls.js
@@ -201,7 +201,7 @@ export default [
hidden: true,
meta: {
title: i18n.t('CommandGroupDetail'),
- activeMenu: ''
+ activeMenu: '/console/perms/acls/cmd-acls'
}
},
{
diff --git a/src/views/acl/CommandAcl/CommandFilterAcl/CommandFilterAclList.vue b/src/views/acl/CommandAcl/CommandFilterAcl/CommandFilterAclList.vue
index 5064d4e1b..f370bb68d 100644
--- a/src/views/acl/CommandAcl/CommandFilterAcl/CommandFilterAclList.vue
+++ b/src/views/acl/CommandAcl/CommandFilterAcl/CommandFilterAclList.vue
@@ -68,11 +68,6 @@ export default {
}
}
}
- },
- activated() {
- setTimeout(() => {
- this.$refs.listTable.reloadTable()
- }, 300)
}
}
diff --git a/src/views/acl/CommandAcl/CommandGroup/CommandGroupDetail/index.vue b/src/views/acl/CommandAcl/CommandGroup/CommandGroupDetail/index.vue
index d0d43df2f..1acb63ccd 100644
--- a/src/views/acl/CommandAcl/CommandGroup/CommandGroupDetail/index.vue
+++ b/src/views/acl/CommandAcl/CommandGroup/CommandGroupDetail/index.vue
@@ -32,15 +32,9 @@ export default {
title: this.$t('Basic'),
name: 'Detail'
}
- ],
- actions: {
- }
+ ]
}
}
}
}
-
-
diff --git a/src/views/acl/CommandAcl/CommandGroup/CommandGroupList.vue b/src/views/acl/CommandAcl/CommandGroup/CommandGroupList.vue
index f747938b6..ed1af6ac4 100644
--- a/src/views/acl/CommandAcl/CommandGroup/CommandGroupList.vue
+++ b/src/views/acl/CommandAcl/CommandGroup/CommandGroupList.vue
@@ -53,11 +53,6 @@ export default {
}
}
}
- },
- computed: {}
+ }
}
-
-
diff --git a/src/views/acl/CommandAcl/index.vue b/src/views/acl/CommandAcl/index.vue
index 85d6ec10a..9c58d8f09 100644
--- a/src/views/acl/CommandAcl/index.vue
+++ b/src/views/acl/CommandAcl/index.vue
@@ -36,8 +36,6 @@ export default {
}
}
},
- mounted() {
- },
methods: {
handleTabClick(tab) {
const query = _.cloneDeep(this.$route.query)