mirror of
https://github.com/jumpserver/lina.git
synced 2025-09-16 15:19:25 +00:00
fix: 修复从平台列表页进入其他页面返回后列表数据显示不正确问题
This commit is contained in:
@@ -105,13 +105,15 @@ export default {
|
||||
async mounted() {
|
||||
try {
|
||||
await this.setCategories()
|
||||
await this.changeMoreCreates()
|
||||
} finally {
|
||||
this.loading = false
|
||||
}
|
||||
},
|
||||
updated() {
|
||||
this.changeMoreCreates()
|
||||
},
|
||||
methods: {
|
||||
async changeMoreCreates() {
|
||||
changeMoreCreates() {
|
||||
this.tableConfig.url = this.url
|
||||
this.headerActions.moreCreates.dropdown = this.$store.state.assets.assetCategoriesDropdown.filter(item => {
|
||||
return item.category === this.tab.activeMenu
|
||||
|
Reference in New Issue
Block a user