mirror of
https://github.com/jumpserver/lina.git
synced 2025-10-20 23:19:06 +00:00
perf: adhoc can clone
This commit is contained in:
@@ -38,7 +38,8 @@ export default {
|
||||
canDelete: ({ row }) => {
|
||||
return this.$hasPerm('ops.delete_adhoc') && row.creator === currentUserID
|
||||
},
|
||||
hasClone: false
|
||||
hasClone: true,
|
||||
cloneRoute: 'AdhocCreate'
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user