warrior 9 月之前
父節點
當前提交
c2e7d555ba
共有 1 個文件被更改,包括 0 次插入4 次删除
  1. 0 4
      projects/textbook/src/modules/login/account-info/account-info.component.ts

+ 0 - 4
projects/textbook/src/modules/login/account-info/account-info.component.ts

@@ -143,10 +143,6 @@ export class AccountInfoComponent implements OnInit {
   }
 
   async profileSave(params: any) {
-    if(!await this.authUser()){
-      return
-    }
-
     this.user?.set('name', params.name);
     this.user?.set('email', params.email);
     this.user?.set('phone', params.email);