Skip to content

Commit

Permalink
Merge pull request #4394 from jumpserver/pr@dev@fix_tab_change
Browse files Browse the repository at this point in the history
fixed: Fixed command filtering and command group tab switching issues
  • Loading branch information
ZhaoJiSen authored Oct 10, 2024
2 parents c9ad797 + bb92e3f commit 5418363
Showing 1 changed file with 0 additions and 13 deletions.
13 changes: 0 additions & 13 deletions src/views/acl/CommandAcl/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
<TabPage
:active-menu.sync="config.activeMenu"
:submenu="config.submenu"
@tab-click="handleTabClick"
/>
</template>

Expand Down Expand Up @@ -35,18 +34,6 @@ export default {
]
}
}
},
methods: {
handleTabClick(tab) {
const query = _.cloneDeep(this.$route.query)
const newQuery = {
...query,
tab: tab.name
}
this.$nextTick(() => {
this.$router.replace({ query: newQuery })
})
}
}
}
</script>

0 comments on commit 5418363

Please sign in to comment.