SEQAQ / qaq-react

💡 QAQ Frontend: A university QA community
https://www.uniqaq.tk
2 stars 0 forks source link

add: Preliminary finish the login and register pages #69

Closed sdjn-wxy closed 4 years ago

sdjn-wxy commented 4 years ago

Preliminary finish the login and register pages.

Including axios part, Alert Bars and not-empty confirm.

'Remember me' button in login page & 'Confirm password', form review for phone number and email in register page are still remain to be done.


初步完成登录注册页

前后端交互与登录、注册后跳转部分已经初步实现;

增加了必填项检查;

增加登录界面隐藏密码;

增加登录与注册成功/失败后的小弹窗;

登录页“记住我”功能尚未实现

注册页电话号码、邮箱格式检查、确认密码检查尚未实现

netlify[bot] commented 4 years ago

Deploy preview for qaq-react ready!

Built with commit 847d0fd4978368ee9e275438f841d0968c6d3042

https://deploy-preview-69--qaq-react.netlify.app

SeanChao commented 4 years ago
8:25:13 PM: yarn run v1.22.10
8:25:14 PM: $ react-scripts build
8:25:16 PM: Creating an optimized production build...
8:26:22 PM: 
8:26:22 PM: Treating warnings as errors because process.env.CI = true.
8:26:22 PM: Most CI servers set it automatically.
8:26:22 PM: 
8:26:22 PM: Failed to compile.
8:26:22 PM: 
8:26:22 PM: src/views/loginView/LoginView.js
8:26:22 PM:   Line 48:40:   'reject' is defined but never used  no-unused-vars
8:26:22 PM:   Line 166:24:  'error' is defined but never used   no-unused-vars
8:26:22 PM: src/views/registerView/RegisterView.js
8:26:22 PM:   Line 57:40:   'reject' is defined but never used  no-unused-vars
8:26:22 PM:   Line 138:24:  'error' is defined but never used   no-unused-vars
8:26:22 PM: error Command failed with exit code 1.
8:26:22 PM: info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.