warrior 8 months ago
parent
commit
b3c32172b5

+ 2 - 2
projects/textbook/src/modules/login/account-info/account-info.component.html

@@ -27,9 +27,9 @@
         </defs>
       </svg>
     </div>
-    注册账号
+    完善账号信息
     <div class="tips">
-      欢迎使用教材遴选系统,注册信息提交后由管理员审核,审核通过后即已激活可直接登录
+      欢迎使用教材遴选系统 ,为了激活账号使用权限,请先完善您的资料信息
     </div>
   </div>
   <div class="form">

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

@@ -85,7 +85,7 @@ export class AccountInfoComponent implements OnInit {
 
   ngOnInit() {
     let user = Parse.User.current()
-    if(user?.id) history.back()
+    if(!user?.id) history.back()
     this.user = user
     this.validateForm.value.phone = user?.get('phone')
     this.validateForm.value.email = user?.get('email')