[Fix] 用户登录复核 bug

This commit is contained in:
xinwen
2020-06-10 19:01:02 +08:00
parent ffbd8ce88d
commit 058400724d

View File

@@ -204,7 +204,7 @@ export default {
const objectId = this.object.id const objectId = this.object.id
const relationUrl = `/api/v1/authentication/login-confirm-settings/${objectId}/` const relationUrl = `/api/v1/authentication/login-confirm-settings/${objectId}/`
const data = { const data = {
reviewers: [...this.object.login_confirm_settings, ...items.map(v => { reviewers: [...this.object.login_confirm_settings || [], ...items.map(v => {
return v.value return v.value
})] })]
} }