Skip to content

Commit

Permalink
fix ant-design#656 misspelled words
Browse files Browse the repository at this point in the history
  • Loading branch information
chenshuai2144 committed Jan 11, 2018
1 parent 6f27820 commit 976e610
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/routes/User/Register.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,13 @@ const InputGroup = Input.Group;
const passwordStatusMap = {
ok: <div className={styles.success}>强度:强</div>,
pass: <div className={styles.warning}>强度:中</div>,
pool: <div className={styles.error}>强度:太短</div>,
poor: <div className={styles.error}>强度:太短</div>,
};

const passwordProgressMap = {
ok: 'success',
pass: 'normal',
pool: 'exception',
poor: 'exception',
};

@connect(({ register, loading }) => ({
Expand Down Expand Up @@ -65,7 +65,7 @@ export default class Register extends Component {
if (value && value.length > 5) {
return 'pass';
}
return 'pool';
return 'poor';
};

handleSubmit = (e) => {
Expand Down

0 comments on commit 976e610

Please sign in to comment.