|
|
|
@@ -10,6 +10,7 @@ import { |
|
|
|
} from '@ant-design/pro-components'; |
|
|
|
import { FormattedMessage, useIntl } from '@umijs/max'; |
|
|
|
import React, { useEffect, useRef, useState } from 'react'; |
|
|
|
import styles from './UserSelectorModal.less'; |
|
|
|
/* * |
|
|
|
* |
|
|
|
* @author whiteshader@163.com |
|
|
|
@@ -90,7 +91,7 @@ const UserSelectorModal: React.FC<DataScopeFormProps> = (props) => { |
|
|
|
|
|
|
|
return ( |
|
|
|
<KFModal |
|
|
|
width={800} |
|
|
|
width={920} |
|
|
|
title={intl.formatMessage({ |
|
|
|
id: 'system.role.auth.user', |
|
|
|
defaultMessage: '选择用户', |
|
|
|
@@ -99,6 +100,7 @@ const UserSelectorModal: React.FC<DataScopeFormProps> = (props) => { |
|
|
|
destroyOnClose |
|
|
|
onOk={handleOk} |
|
|
|
onCancel={handleCancel} |
|
|
|
className={styles['user-selector-modal']} |
|
|
|
> |
|
|
|
<ProTable<API.System.User> |
|
|
|
headerTitle={intl.formatMessage({ |
|
|
|
|