Commit 976e610b authored by jim's avatar jim

fix #656 misspelled words

parent 6f278208
...@@ -11,13 +11,13 @@ const InputGroup = Input.Group; ...@@ -11,13 +11,13 @@ const InputGroup = Input.Group;
const passwordStatusMap = { const passwordStatusMap = {
ok: <div className={styles.success}>强度</div>, ok: <div className={styles.success}>强度</div>,
pass: <div className={styles.warning}>强度</div>, pass: <div className={styles.warning}>强度</div>,
pool: <div className={styles.error}>强度太短</div>, poor: <div className={styles.error}>强度太短</div>,
}; };
const passwordProgressMap = { const passwordProgressMap = {
ok: 'success', ok: 'success',
pass: 'normal', pass: 'normal',
pool: 'exception', poor: 'exception',
}; };
@connect(({ register, loading }) => ({ @connect(({ register, loading }) => ({
...@@ -65,7 +65,7 @@ export default class Register extends Component { ...@@ -65,7 +65,7 @@ export default class Register extends Component {
if (value && value.length > 5) { if (value && value.length > 5) {
return 'pass'; return 'pass';
} }
return 'pool'; return 'poor';
}; };
handleSubmit = (e) => { handleSubmit = (e) => {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment