mirror of
https://github.com/jumpserver/lina.git
synced 2025-10-21 23:59:22 +00:00
perf: Apple host detail perm
This commit is contained in:
@@ -65,6 +65,7 @@ export default {
|
|||||||
label: this.$t('DisplayName'),
|
label: this.$t('DisplayName'),
|
||||||
formatter: DetailFormatter,
|
formatter: DetailFormatter,
|
||||||
formatterArgs: {
|
formatterArgs: {
|
||||||
|
can: vm.$hasPerm('assets.view_asset'),
|
||||||
getTitle: ({ row }) => row.host.name,
|
getTitle: ({ row }) => row.host.name,
|
||||||
getRoute: ({ row }) => ({
|
getRoute: ({ row }) => ({
|
||||||
name: 'AppletHostDetail',
|
name: 'AppletHostDetail',
|
||||||
|
Reference in New Issue
Block a user