We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
登录失败,好像校验有问题呢
The text was updated successfully, but these errors were encountered:
登入本来有调用后端验证的,注释掉了,但是代码没改, 所以登入不上的直接跳到主页呗 或者把这块代码改一下就可以
Sorry, something went wrong.
login(): void { if (this.verifyCode.fcShowError === 'N') { // `if (this.loginValid(this.userId, this.password)) {` this.hasError = false; CacheService.setS('userinfo', { USERCODE: 'admin' }); CacheService.setS('token', 'ab2be4ef08c0418bab13a6a88c9772e7'); if (this.remember) { CommonService.addCookie('userName', 'admin', 0); } else { CommonService.removeCookie('userName'); } console.log(`/ + ${environment.pid.toLocaleLowerCase()} + /home`); this.router.navigate([`/${environment.pid.toLocaleLowerCase()}/home`]); // } else { // this.hasError = true; // } } }
this.loginValid() 这个判断注释掉就行了
No branches or pull requests
登录失败,好像校验有问题呢
The text was updated successfully, but these errors were encountered: