Skip to content

Commit

Permalink
perf: merge with remote
Browse files Browse the repository at this point in the history
  • Loading branch information
ibuler committed Jan 21, 2025
2 parents 7394ff2 + 6093d89 commit fb9d9d6
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/views/pam/RiskDetect/AccountCheckCreateUpdate.vue
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ import { GenericCreateUpdatePage } from '@/layout/components'
import { AssetSelect } from '@/components'
import { periodicMeta } from '@/components/const'
import i18n from '@/i18n/i18n'
import { Select2 } from '@/components/Form/FormFields'
export default {
name: 'AccountPushCreateUpdate',
Expand Down Expand Up @@ -46,6 +47,7 @@ export default {
}
},
engines: {
component: Select2,
el: {
url: '/api/v1/accounts/account-check-engines/',
multiple: true,
Expand All @@ -57,7 +59,7 @@ export default {
name = `${name} (使用创建账号发现任务替代)`
disabled = true
}
return { label: name, value: item.id, disabled: disabled }
return { label: name, value: item.slug, disabled: disabled }
}
}
}
Expand Down

0 comments on commit fb9d9d6

Please sign in to comment.