perf: 全局组织下禁止批量更新

This commit is contained in:
“huailei000”
2023-12-20 17:55:35 +08:00
committed by huailei
parent f59b33a27f
commit aa48e24881

View File

@@ -258,7 +258,7 @@ export default {
fa: 'batch-update',
can: ({ selectedRows }) => {
return selectedRows.length > 0 &&
!vm.currentOrgIsRoot &&
!this.$store.getters.currentOrgIsRoot &&
vm.$hasPerm('assets.change_asset')
},
callback: ({ selectedRows }) => {