From 3d420288a6683988f445e653378db27cd80c863e Mon Sep 17 00:00:00 2001 From: zhengyiming <540361168@qq.com> Date: 星期三, 20 八月 2025 11:22:35 +0800 Subject: [PATCH] fix: 实名 --- 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