perf: ticket asset

This commit is contained in:
feng
2023-01-16 20:37:01 +08:00
parent b891be3607
commit d751a23df1

View File

@@ -97,7 +97,7 @@ export default {
return `/api/v1/assets/assets/?oid=${oid}&protocol__in=rdp,vnc,ssh,telnet`
}(this.object)),
transformOption: (item) => {
return { label: item.hostname, value: item.id }
return { label: `${item.name}(${item.address})`, value: item.id }
}
}
}