mirror of
https://github.com/jumpserver/lina.git
synced 2025-09-19 17:54:37 +00:00
Merge pull request #4180 from jumpserver/pr@dev@apple
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