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