perf: add change labeled resource perm

This commit is contained in:
wangruidong 2024-06-27 16:03:48 +08:00 committed by w940853815
parent 918b6dbe8e
commit 4eefb448ed

View File

@ -74,7 +74,7 @@ export default {
this.bindVisible = true
},
can: () => {
return !this.currentOrgIsRoot
return !this.currentOrgIsRoot && this.$hasPerm('labels.change_labeledresource')
}
}
]