控制台只展示有权限的菜单,登录和提示优化
This commit is contained in:
@@ -49,6 +49,7 @@
|
||||
if (!valid) return;
|
||||
this.loginLoading = true;
|
||||
consoleApi.userLogin(this.loginParam).then(() => {
|
||||
this.$emit('loginSuccess');
|
||||
this.loginLoading = false;
|
||||
if (!!this.redirect) {
|
||||
location.href = decodeURIComponent(this.redirect);
|
||||
|
||||
Reference in New Issue
Block a user