From 9d4cbff7464ebfd7803c2ce53ded49d0f73fe011 Mon Sep 17 00:00:00 2001
From: longz <longzhaoz@qq.com>
Date: 星期一, 29 六月 2026 20:33:55 +0800
Subject: [PATCH] 初步调整fix
---
frontend-h5/src/types/auth.ts | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/frontend-h5/src/types/auth.ts b/frontend-h5/src/types/auth.ts
index c4e97da..32c0619 100644
--- a/frontend-h5/src/types/auth.ts
+++ b/frontend-h5/src/types/auth.ts
@@ -63,7 +63,7 @@
userType: data.userType,
deptId: data.deptId ?? null,
deptName: data.deptName ?? null,
- deptLeaderFlag: Boolean(data.deptLeader),
+ deptLeaderFlag: false,
avatarUrl: data.avatarUrl ?? null,
displayName: normalizeProfileDisplayName(data.displayName),
mobile: null,
@@ -78,7 +78,7 @@
userType: data.userType,
deptId: data.deptId ?? null,
deptName: data.deptName ?? null,
- deptLeaderFlag: Boolean(data.deptLeaderFlag),
+ deptLeaderFlag: false,
avatarUrl: data.avatarUrl ?? null,
displayName: normalizeProfileDisplayName(data.nickName),
mobile: data.mobile ?? null,
--
Gitblit v1.7.1