提交 0f536fb3 编写于 作者: m0_37741424's avatar m0_37741424

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

上级 bf413e40
......@@ -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 {
......
......@@ -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'
},
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册