Skip to content

Commit

Permalink
fix(ui): 修复重进控制台没有清空当前工作空间的问题
Browse files Browse the repository at this point in the history
  • Loading branch information
Aaron3S committed Sep 15, 2021
1 parent edf6359 commit aa41572
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions web/kubepi/src/business/cluster-management/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -189,6 +189,7 @@ export default {
},
onGotoDashboard(row) {
if (row.accessable) {
sessionStorage.removeItem("namespace")
window.open(`/dashboard?cluster=${row.name}`, "_self")
} else {
this.$message.error(this.$t('business.cluster.user_not_in_cluster'))
Expand Down

0 comments on commit aa41572

Please sign in to comment.