From 03d24a395c0a5b0aa06445b70da4a9bf26997bb0 Mon Sep 17 00:00:00 2001
From: zhengyiming <540361168@qq.com>
Date: 星期五, 26 九月 2025 09:51:56 +0800
Subject: [PATCH] fix: s

---
 apps/cMiniApp/src/subpackages/authentication/authenticationRealName/InnerPage.vue |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/apps/cMiniApp/src/subpackages/authentication/authenticationRealName/InnerPage.vue b/apps/cMiniApp/src/subpackages/authentication/authenticationRealName/InnerPage.vue
index d2ae4ab..6e5dda9 100644
--- a/apps/cMiniApp/src/subpackages/authentication/authenticationRealName/InnerPage.vue
+++ b/apps/cMiniApp/src/subpackages/authentication/authenticationRealName/InnerPage.vue
@@ -211,7 +211,8 @@
     };
     let res = await electronSignServices.personalUserFaceReal(params);
     if (res) {
-      const encodedUrl = encodeURIComponent(res);
+      // 涓轰簡鍏煎鏃х増鏈殑api res鐩存帴鏄痜aceUrl
+      const encodedUrl = encodeURIComponent(typeof res === 'string' ? res : res.faceUrl);
       updateUserInfo();
       Taro.navigateTo({ url: `${RouterPath.extraPage}?url=${encodedUrl}` });
     }

--
Gitblit v1.9.1