ant-design / v2.preview.pro.ant.design

v2.preview.pro.ant.design
MIT License
74 stars 44 forks source link

Fix pressing enter to login validation error #1

Open Somnus007 opened 5 years ago

Somnus007 commented 5 years ago

Login page:

  1. By default, it will display the userName&password login tab, switch to the SMS verification code login tab.
  2. Switch back to the userName&password login tab
  3. Enter the correct userName and password and press Enter to log in.
  4. It will still verify the phone number and captcha fields and cannot log in.

This PR fixes the issue.