feat: Add Personal Center module and UI improvements
- Add ProfilePage with avatar upload, password change, and module status display - Update logo and favicon for login page and browser tab - Redirect Data Cleaning module default route to Tool C - Hide Settings button from top navigation for MVP - Add avatar display in top navigation bar with refresh sync - Add Prompt knowledge base integration development plan docs
This commit is contained in:
@@ -3,14 +3,17 @@
|
||||
* 数据清洗整理模块
|
||||
*
|
||||
* 路由结构:
|
||||
* - / → Portal工作台(主页)
|
||||
* - / → 直接跳转到 Tool C(科研数据编辑器)
|
||||
* - /tool-a → Tool A - 超级合并器(暂未开发)
|
||||
* - /tool-b → Tool B - 病历结构化机器人(✅ 已完成)
|
||||
* - /tool-c → Tool C - 科研数据编辑器(🚀 Day 4-5开发中)
|
||||
* - /tool-c → Tool C - 科研数据编辑器(🚀 主力工具)
|
||||
* - /portal → Portal工作台(保留,暂不展示)
|
||||
*
|
||||
* 2026-01-28 更新:默认直接进入 Tool C,不再显示 Portal 页面
|
||||
*/
|
||||
|
||||
import { Suspense, lazy } from 'react';
|
||||
import { Routes, Route } from 'react-router-dom';
|
||||
import { Routes, Route, Navigate } from 'react-router-dom';
|
||||
import { Spin } from 'antd';
|
||||
import Placeholder from '@/shared/components/Placeholder';
|
||||
|
||||
@@ -29,8 +32,11 @@ const DCModule = () => {
|
||||
}
|
||||
>
|
||||
<Routes>
|
||||
{/* Portal主页 */}
|
||||
<Route index element={<Portal />} />
|
||||
{/* 默认直接跳转到 Tool C */}
|
||||
<Route index element={<Navigate to="tool-c" replace />} />
|
||||
|
||||
{/* Portal工作台(保留,可通过 /data-cleaning/portal 访问) */}
|
||||
<Route path="portal" element={<Portal />} />
|
||||
|
||||
{/* Tool A - 超级合并器(暂未开发) */}
|
||||
<Route
|
||||
|
||||
Reference in New Issue
Block a user