mirror of
https://gitee.com/dromara/MaxKey.git
synced 2025-12-06 17:08:29 +08:00
登录失败无提示的功能修复
This commit is contained in:
parent
bf413e4014
commit
0f536fb337
@ -161,7 +161,7 @@ export class UserLoginComponent implements OnInit, OnDestroy {
|
|||||||
.subscribe(res => {
|
.subscribe(res => {
|
||||||
this.loading = true;
|
this.loading = true;
|
||||||
if (res.code !== 0) {
|
if (res.code !== 0) {
|
||||||
this.error = res.msg;
|
this.error = res.message;
|
||||||
//this.msg.success(`登录失败,请重新登录!`);
|
//this.msg.success(`登录失败,请重新登录!`);
|
||||||
this.getImageCaptcha();
|
this.getImageCaptcha();
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
@ -27,7 +27,7 @@ export const environment = {
|
|||||||
production: false,
|
production: false,
|
||||||
useHash: true,
|
useHash: true,
|
||||||
api: {
|
api: {
|
||||||
baseUrl: 'http://sso.maxkey.top:9526/maxkey-mgt-api/',
|
baseUrl: '/maxkey-mgt-api',
|
||||||
refreshTokenEnabled: true,
|
refreshTokenEnabled: true,
|
||||||
refreshTokenType: 're-request'
|
refreshTokenType: 're-request'
|
||||||
},
|
},
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user