fix: 修复从平台列表页进入其他页面返回后列表数据显示不正确问题

This commit is contained in:
“huailei000”
2022-10-09 17:44:20 +08:00
committed by huailei
parent cf234ca067
commit 0bab09e48e

View File

@@ -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