mirror of
https://github.com/jumpserver/lina.git
synced 2025-09-08 18:30:08 +00:00
perf: 全局组织下禁止批量更新
This commit is contained in:
@@ -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 }) => {
|
||||
|
Reference in New Issue
Block a user