From c2463c02a17f92df55ec77ed2da3fb724290c072 Mon Sep 17 00:00:00 2001
From: wupengfei <834520024@qq.com>
Date: 星期一, 20 十月 2025 17:34:30 +0800
Subject: [PATCH] fix: bug
---
apps/cMiniApp/src/subpackages/authentication/authenticationRealName/InnerPage.vue | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/apps/cMiniApp/src/subpackages/authentication/authenticationRealName/InnerPage.vue b/apps/cMiniApp/src/subpackages/authentication/authenticationRealName/InnerPage.vue
index dae5564..6e5dda9 100644
--- a/apps/cMiniApp/src/subpackages/authentication/authenticationRealName/InnerPage.vue
+++ b/apps/cMiniApp/src/subpackages/authentication/authenticationRealName/InnerPage.vue
@@ -109,7 +109,7 @@
name: 'InnerPage',
});
-const { userDetail } = useUser();
+const { userDetail, updateUserInfo } = useUser();
const router = Taro.useRouter();
const type = router.params?.type ?? '';
@@ -211,7 +211,9 @@
};
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}` });
}
} catch (error) {}
--
Gitblit v1.9.1