perf: 优化平台列表tab页点击导出会导出全部数据问题

This commit is contained in:
“huailei000”
2023-06-14 19:01:17 +08:00
committed by huailei
parent e4d1533091
commit c9ec67cc50

View File

@@ -97,6 +97,9 @@ export default {
name: this?.name
})
},
exportOptions: {
url: vm.url
},
moreCreates: {
callback: (item) => {
this.$router.push({
@@ -127,6 +130,7 @@ export default {
methods: {
changeMoreCreates() {
this.tableConfig.url = this.url
this.headerActions.exportOptions.url = this.url
this.headerActions.moreCreates.dropdown = this.$store.state.assets.assetCategoriesDropdown.filter(item => {
return item.category === this.tab.activeMenu
})