登录失败无提示的功能修复

This commit is contained in:
shibanglin 2023-03-07 11:32:44 +08:00
parent bf413e4014
commit 0f536fb337
2 changed files with 2 additions and 2 deletions

View File

@ -161,7 +161,7 @@ export class UserLoginComponent implements OnInit, OnDestroy {
.subscribe(res => {
this.loading = true;
if (res.code !== 0) {
this.error = res.msg;
this.error = res.message;
//this.msg.success(`登录失败,请重新登录!`);
this.getImageCaptcha();
} else {

View File

@ -27,7 +27,7 @@ export const environment = {
production: false,
useHash: true,
api: {
baseUrl: 'http://sso.maxkey.top:9526/maxkey-mgt-api/',
baseUrl: '/maxkey-mgt-api',
refreshTokenEnabled: true,
refreshTokenType: 're-request'
},