Skip to content

Commit

Permalink
feat: multiple position support
Browse files Browse the repository at this point in the history
  • Loading branch information
suyuan32 committed Feb 13, 2023
1 parent 174e409 commit f57bcc2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/api/sys/model/userModel.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ export interface UserInfo {
email?: string;
avatar?: string;
departmentId?: number;
positionId?: number;
positionIds?: number[];
}

/**
Expand Down
2 changes: 1 addition & 1 deletion src/views/sys/user/user.data.ts
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,7 @@ export const formSchema: FormSchema[] = [
{
field: 'positionId',
label: t('sys.position.userPosition'),
component: 'ApiSelect',
component: 'ApiMultipleSelect',
required: true,
componentProps: {
api: getPositionList,
Expand Down

0 comments on commit f57bcc2

Please sign in to comment.