Skip to content

Commit

Permalink
perf: The platform gets activeMenu and adds a default value
Browse files Browse the repository at this point in the history
  • Loading branch information
feng626 committed Oct 15, 2024
1 parent 8390fb7 commit d8df35a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/views/assets/Platform/PlatformList.vue
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ export default {
},
activated() {
setTimeout(() => {
this.tab.activeMenu = window.localStorage.getItem('lastTab')
this.tab.activeMenu = window.localStorage.getItem('lastTab') || 'host'
this.$refs.genericListTable.reloadTable()
}, 300)
},
Expand Down

0 comments on commit d8df35a

Please sign in to comment.