mirror of
https://github.com/jumpserver/lina.git
synced 2025-09-25 14:25:23 +00:00
perf: The platform gets activeMenu and adds a default value
This commit is contained in:
@@ -162,7 +162,7 @@ export default {
|
|||||||
},
|
},
|
||||||
activated() {
|
activated() {
|
||||||
setTimeout(() => {
|
setTimeout(() => {
|
||||||
this.tab.activeMenu = window.localStorage.getItem('lastTab')
|
this.tab.activeMenu = window.localStorage.getItem('lastTab') || 'host'
|
||||||
this.$refs.genericListTable.reloadTable()
|
this.$refs.genericListTable.reloadTable()
|
||||||
}, 300)
|
}, 300)
|
||||||
},
|
},
|
||||||
|
Reference in New Issue
Block a user