diff --git a/.idea/workspace.xml b/.idea/workspace.xml
index d3f9854..cb04ece 100644
--- a/.idea/workspace.xml
+++ b/.idea/workspace.xml
@@ -4,11 +4,7 @@
-
-
-
-
-
+
@@ -120,15 +116,7 @@
-
-
-
-
- 1775965478226
-
-
-
- 1775965478226
+
@@ -514,7 +502,15 @@
1784800763746
-
+
+
+ 1784802336157
+
+
+
+ 1784802336157
+
+
@@ -534,7 +530,6 @@
-
@@ -559,7 +554,8 @@
-
+
+
\ No newline at end of file
diff --git a/.workbuddy/memory/2026-07-23.md b/.workbuddy/memory/2026-07-23.md
index 10e9f67..e083c40 100644
--- a/.workbuddy/memory/2026-07-23.md
+++ b/.workbuddy/memory/2026-07-23.md
@@ -58,4 +58,11 @@
- `src/pages/admin/index/index.tsx`:页面访问门槛 `isAdmin` → `isSuperAdmin===1`(含空态文案);`loading` 拆为 `userLoading`(来自 useUser,防闪烁) + `dataLoading`(角标数据);首屏 `if (userLoading || dataLoading) spinner`。
- `src/pages/store/center/index.tsx`:移除 `getMyClerk()` 店员门槛,改为 `isSuperAdmin===1` 才进;非超管弹「仅超级管理员可访问」并 navigateBack;头部加 `header` 兜底(超管非店员时显示「门店中心」+ 管理员昵称/手机号);渲染守卫 `userLoading → 请先登录 → 无访问权限`,去掉原 `if(!storeInfo) return null`(否则非店员超管整页空白)。
-**验证**:`npm run build:weapp` 在沙箱被 OOM/锁文件杀掉(exit 137,无报错),属环境问题,非代码错误;改动均为项目既有写法(useUser / Badge / 渐变头部)。
\ No newline at end of file
+**验证**:`npm run build:weapp` 在沙箱被 OOM/锁文件杀掉(exit 137,无报错),属环境问题,非代码错误;改动均为项目既有写法(useUser / Badge / 渐变头部)。
+
+## 「申请成为开发者」菜单项随 isDeveloper 切换
+
+**需求**:我的页面菜单里「申请成为开发者(推荐)」条目,若用户已审核通过成为开发者,该处文案/链接改为「进入开发者中心」(跳 `/pages/developer/index/index`)。
+
+**改动**(`src/pages/user/user.tsx` 菜单 `menuItems`):
+- 把原第 105 行固定「申请成为开发者」+ 第 107 行独立「开发者中心」(仅 isDeveloper 显示) 合并为条件式:`(user as any)?.isDeveloper ? { 进入开发者中心 → /pages/developer/index/index } : { 申请成为开发者 → /pages/user/vip-upgrade/index }`,两者均 `highlight: true`(醒目推荐样式)。去掉了冗余的独立「开发者中心」条目。
\ No newline at end of file
diff --git a/src/pages/user/user.tsx b/src/pages/user/user.tsx
index 61f39bb..f828383 100644
--- a/src/pages/user/user.tsx
+++ b/src/pages/user/user.tsx
@@ -101,10 +101,10 @@ const UserPage: React.FC = () => {
})
const menuItems = [
- // 申请成为开发者 - 醒目样式
- { icon: '🔰', label: '申请成为开发者', url: '/pages/user/vip-upgrade/index', highlight: true, requireAuth: true },
- // 开发者中心:仅 isDeveloper 用户显示
- ...((user as any)?.isDeveloper ? [{ icon: '🛠️', label: '开发者中心', url: '/pages/developer/index/index', requireAuth: true }] : []),
+ // 申请成为开发者 / 进入开发者中心:已通过审核则直接进开发者中心
+ ...((user as any)?.isDeveloper
+ ? [{ icon: '🛠️', label: '进入开发者中心', url: '/pages/developer/index/index', highlight: true, requireAuth: true }]
+ : [{ icon: '🔰', label: '申请成为开发者', url: '/pages/user/vip-upgrade/index', highlight: true, requireAuth: true }]),
// 平台管理:仅 isSuperAdmin=1 用户显示
...((user as any)?.isSuperAdmin === 1 ? [{ icon: '🛡️', label: '平台管理', url: '/pages/admin/index/index', requireAuth: true }] : []),
// 门店中心:仅 isSuperAdmin=1 用户显示