From 55c03f35a31979aefd46aead13a145c9b293e6d8 Mon Sep 17 00:00:00 2001
From: zhengyiming <540361168@qq.com>
Date: 星期四, 27 三月 2025 17:38:55 +0800
Subject: [PATCH] fix: 四期需求

---
 apps/taro/src/stores/modules/user.ts |    4 +---
 1 files changed, 1 insertions(+), 3 deletions(-)

diff --git a/apps/taro/src/stores/modules/user.ts b/apps/taro/src/stores/modules/user.ts
index 7b10216..1ac1d0e 100644
--- a/apps/taro/src/stores/modules/user.ts
+++ b/apps/taro/src/stores/modules/user.ts
@@ -140,7 +140,7 @@
 
       if (res) {
         this.loginVirtualSuccess({
-          virtualUserId: res,
+          virtualUserId: res.userId,
           virtualPhoneNumber: data.phoneNumber,
         });
       }
@@ -220,8 +220,6 @@
       try {
         // let res = await userServices.getUserInfo({ showLoading: false });
         // if (res) {
-        //   res.originalAvatarUrl = res.avatarUrl;
-        //   res.avatarUrl = res.avatarUrl ? setOSSLink(res.avatarUrl) : DefaultAvatar;
         //   this.setUserDetail(res);
         //   this.firstGetUserDetail = false;
         // }

--
Gitblit v1.9.1