diff --git a/src/routes/User/Register.js b/src/routes/User/Register.js index e5662405b1ea5fdad027f45d727f77c4c7a7b235..77b365051e7f702fdd2b5ccfc08d8a350c691aba 100644 --- a/src/routes/User/Register.js +++ b/src/routes/User/Register.js @@ -11,13 +11,13 @@ const InputGroup = Input.Group; const passwordStatusMap = { ok:
强度:强
, pass:
强度:中
, - pool:
强度:太短
, + poor:
强度:太短
, }; const passwordProgressMap = { ok: 'success', pass: 'normal', - pool: 'exception', + poor: 'exception', }; @connect(({ register, loading }) => ({ @@ -65,7 +65,7 @@ export default class Register extends Component { if (value && value.length > 5) { return 'pass'; } - return 'pool'; + return 'poor'; }; handleSubmit = (e) => {