perf: Apple host detail perm

This commit is contained in:
feng
2024-07-04 16:32:20 +08:00
parent f873254248
commit 7651443c25

View File

@@ -65,6 +65,7 @@ export default {
label: this.$t('DisplayName'),
formatter: DetailFormatter,
formatterArgs: {
can: vm.$hasPerm('assets.view_asset'),
getTitle: ({ row }) => row.host.name,
getRoute: ({ row }) => ({
name: 'AppletHostDetail',