浏览代码

国家管理员

warrior 10 月之前
父节点
当前提交
9c40b6a7d2
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      projects/textbook/src/services/auth.service.ts

+ 1 - 0
projects/textbook/src/services/auth.service.ts

@@ -159,6 +159,7 @@ export class AuthServr {
             console.log(profile);
             localStorage.setItem('profile', JSON.stringify(profile));
             this.textbook.profile = profile;
+            return
           }
           this.message.warning('已认证暂无身份');
           break;