Browse Source

update:tab1 evaluate

cainiao-hue 3 months ago
parent
commit
885dc01fe3
2 changed files with 2 additions and 1 deletions
  1. 1 0
      soul-app/src/app/tab1/tab1.page.ts
  2. 1 1
      soul-app/src/app/tab3/tab3.page.html

+ 1 - 0
soul-app/src/app/tab1/tab1.page.ts

@@ -80,6 +80,7 @@ export class Tab1Page {
     // 其他构造函数代码
   }
   matchedCounselor: { content: string; rating: number } | null = null;
+  
   async evaluate() {
     // 验证用户登录
     let currentUser = new CloudUser();

+ 1 - 1
soul-app/src/app/tab3/tab3.page.html

@@ -33,7 +33,7 @@
       <ion-card-content>
       @if(!currentUser?.id){
         <div style="display: flex; justify-content: space-between;">
-          <!--<ion-button expand="block"  color="danger" (click)="signup()" style="flex: 1; margin-right: 5px;">注册</ion-button>-->
+          <ion-button expand="block"  color="danger" (click)="signup()" style="flex: 1; margin-right: 5px;">注册</ion-button>
           <ion-button expand="block"  color="danger" (click)="login()" style="flex: 1; margin-left: 5px;">登录</ion-button>
         </div>
       }