Quellcode durchsuchen

fix(yongren): 修正设置页面的tabBar路径配置

将tabBar的settings页面路径从 /pages/profile/index 更新为 /pages/yongren/settings/index,与实际使用的yongren-settings-ui包保持一致。

🤖 Generated with [Claude Code](https://claude.com/claude-code)
via [Happy](https://happy.engineering)

Co-Authored-By: Claude <noreply@anthropic.com>
Co-Authored-By: Happy <yesreply@happy.engineering>
yourname vor 3 Wochen
Ursprung
Commit
c84c2b67c2
2 geänderte Dateien mit 2 neuen und 2 gelöschten Zeilen
  1. 1 1
      mini/src/app.config.ts
  2. 1 1
      mini/src/layouts/yongren-tab-bar-layout.tsx

+ 1 - 1
mini/src/app.config.ts

@@ -42,7 +42,7 @@ export default defineAppConfig({
         text: '数据'
       },
       {
-        pagePath: 'pages/profile/index',
+        pagePath: 'pages/yongren/settings/index',
         text: '设置'
       }
     ]

+ 1 - 1
mini/src/layouts/yongren-tab-bar-layout.tsx

@@ -58,7 +58,7 @@ const YongrenTabBarLayout: React.FC<YongrenTabBarLayoutProps> = ({ children, act
         Taro.switchTab({ url: '/pages/yongren/statistics/index' })
         break
       case 'settings':
-        Taro.switchTab({ url: '/pages/profile/index' })
+        Taro.switchTab({ url: '/pages/yongren/settings/index' })
         break
       default:
         break