Skip to content

Commit

Permalink
perf: Ticket flow rule user display name(username)
Browse files Browse the repository at this point in the history
  • Loading branch information
feng626 authored and BaiJiangJie committed Aug 19, 2024
1 parent edbf477 commit d561701
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/views/tickets/TicketFlow/FlowRuleField.vue
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,12 @@ export default {
}
],
select2Option: {
url: '/api/v1/users/users/?oid=root'
url: '/api/v1/users/users/?oid=root',
ajax: {
transformOption: (item) => {
return { label: item.name + '(' + item.username + ')', value: item.id }
}
}
},
fields: [
]
Expand Down

0 comments on commit d561701

Please sign in to comment.