|
|
|
@ -3,7 +3,7 @@ import { connect } from 'dva'; |
|
|
|
import { formatMessage, FormattedMessage } from 'umi-plugin-react/locale'; |
|
|
|
import Link from 'umi/link'; |
|
|
|
import router from 'umi/router'; |
|
|
|
import { Form, Input, Button, message, Select, Row, Col, Popover, Progress } from 'antd'; |
|
|
|
import { Form, Input, Button, Modal, Select, Row, Col, Popover, Progress } from 'antd'; |
|
|
|
import styles from './Register.less'; |
|
|
|
|
|
|
|
const FormItem = Form.Item; |
|
|
|
@ -75,7 +75,9 @@ class Register extends Component { |
|
|
|
clearInterval(this.interval); |
|
|
|
} |
|
|
|
}, 1000); |
|
|
|
message.warning(formatMessage({ id: 'app.login.verification-code-warning' })); |
|
|
|
Modal.info({ |
|
|
|
title: formatMessage({ id: 'app.login.verification-code-warning' }), |
|
|
|
}); |
|
|
|
}; |
|
|
|
|
|
|
|
getPasswordStatus = () => { |
|
|
|
|