From 12f08c16ee7c7176368b5961fe104ed698227a8d Mon Sep 17 00:00:00 2001
From: wupengfei <834520024@qq.com>
Date: 星期四, 11 九月 2025 17:41:50 +0800
Subject: [PATCH] Merge branch 'master' into dev-v1.1
---
apps/cMiniApp/src/hooks/user.ts | 19 +------------------
1 files changed, 1 insertions(+), 18 deletions(-)
diff --git a/apps/cMiniApp/src/hooks/user.ts b/apps/cMiniApp/src/hooks/user.ts
index a0d6025..980d82f 100644
--- a/apps/cMiniApp/src/hooks/user.ts
+++ b/apps/cMiniApp/src/hooks/user.ts
@@ -17,31 +17,14 @@
return userStore.getCurrentUserInfo();
}
- const isCompanyAudited = computed(() => {
- return userDetail.value?.openHRSiteStatus === ParkOrHRStatus.Running;
- });
-
- /**
- * 鏄惁瀹屽杽涓汉淇℃伅锛堜紒涓氬悕绉帮紝鎵嬫満鍙凤級
- */
- const isCompletePersonalInfo = computed(() => {
- return (
- !!userDetail.value?.customerName &&
- !!userDetail.value?.contacter &&
- !!userDetail.value?.cityName
- );
- });
-
const isCertified = computed(() => {
- return false;
+ return userDetail.value?.isReal;
});
return {
user: userInfo,
userDetail: userDetail,
updateUserInfo,
- isCompletePersonalInfo,
- isCompanyAudited,
isCertified,
locationCity,
userId,
--
Gitblit v1.9.1