perf: adhoc can clone

This commit is contained in:
wangruidong
2024-09-20 14:59:15 +08:00
committed by Bryan
parent 71dea791bf
commit a0e7c48dc9

View File

@@ -38,7 +38,8 @@ export default {
canDelete: ({ row }) => {
return this.$hasPerm('ops.delete_adhoc') && row.creator === currentUserID
},
hasClone: false
hasClone: true,
cloneRoute: 'AdhocCreate'
}
}
}