feat: There are more 'more' parameters passed when creating a user

There are more 'more' parameters passed when creating a user

Change-Id: If850de2036265f33686610cb5061dc768ee9ae5f
This commit is contained in:
yangao 2022-04-21 14:29:46 +08:00
parent db2c0d84b9
commit e3561599f4

View File

@ -388,7 +388,7 @@ export class CreateForm extends FormAction {
values.defaultRole = this.projectRoleList[0].id;
values.newProjectRoles = this.state.newProjectRoles;
values.domain_id = domain;
const { confirmPassword, ...rest } = values;
const { confirmPassword, more, ...rest } = values;
return this.store.create(rest);
};
}