From 9d4cbff7464ebfd7803c2ce53ded49d0f73fe011 Mon Sep 17 00:00:00 2001
From: longz <longzhaoz@qq.com>
Date: 星期一, 29 六月 2026 20:33:55 +0800
Subject: [PATCH] 初步调整fix
---
yuyueMiniProgram/src/types/auth.ts | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/yuyueMiniProgram/src/types/auth.ts b/yuyueMiniProgram/src/types/auth.ts
index 0396ac9..4d38044 100644
--- a/yuyueMiniProgram/src/types/auth.ts
+++ b/yuyueMiniProgram/src/types/auth.ts
@@ -53,7 +53,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,
@@ -68,7 +68,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