| | |
| | | ProFormDigit, |
| | | ProFormText, |
| | | } from '@ant-design/pro-components'; |
| | | import { FormattedMessage, useIntl } from '@umijs/max'; |
| | | import { Form, Modal } from 'antd'; |
| | | |
| | | const Pwd = (props) => { |
| | | const intl = useIntl(); |
| | | const [form] = Form.useForm(); |
| | | const { } = props; |
| | | |
| | |
| | | return ( |
| | | <> |
| | | <Modal |
| | | title="Reset Password" |
| | | title={intl.formatMessage({ id: 'page.reset.pwd', defaultMessage: '重置密码' })} |
| | | width={400} |
| | | forceRender |
| | | destroyOnClose |
| | |
| | | /> |
| | | <ProFormText |
| | | name="password" |
| | | label="新密码" |
| | | label={intl.formatMessage({ id: 'personal.security.new.pwd', defaultMessage: '新密码' })} |
| | | colProps={{ md: 24, xl: 24 }} |
| | | placeholder="请输入" |
| | | rules={[ |