mirror of
https://github.com/jumpserver/lina.git
synced 2025-09-13 13:49:07 +00:00
perf: 优化平台列表tab页点击导出会导出全部数据问题
This commit is contained in:
@@ -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
|
||||
})
|
||||
|
Reference in New Issue
Block a user