控制台只展示有权限的菜单,登录和提示优化

This commit is contained in:
暮光:城中城
2020-12-26 10:33:24 +08:00
parent 2e37d4db44
commit b8a1c8554e
24 changed files with 101 additions and 26 deletions

View File

@@ -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);