diff --git a/WebSite/public/logo_square.png b/WebSite/public/logo_square.png new file mode 100644 index 0000000..6b9ee7e Binary files /dev/null and b/WebSite/public/logo_square.png differ diff --git a/WebSite/src/App.tsx b/WebSite/src/App.tsx index 0f57a99..260c8cd 100644 --- a/WebSite/src/App.tsx +++ b/WebSite/src/App.tsx @@ -9,7 +9,6 @@ import { Check, Download, Layers, - ActivitySquare, MonitorPlay, Save, LayoutDashboard, @@ -562,7 +561,7 @@ export default function App() { setIsResettingDemo(true); try { const data = await apiRequest('/api/demo/reset', { method: 'POST' }) as { items?: LibraryItem[] }; - const items = data.items || []; + const items = data.items?.length ? data.items : await loadLibrary(); setLibraryData(items); setSelectedLibraryId(items[0]?.id || ''); setLibraryInfo(null); @@ -976,8 +975,8 @@ export default function App() {
-
- +
+ 头颈CT变形平台

颅颈特定体位CT影像智慧变形平台

头部CT变形平台

@@ -1032,7 +1031,7 @@ export default function App() { {/* Sidebar */}
)}
-
@@ -1079,12 +1087,6 @@ export default function App() { {currentPage === 'users' && '系统管理工作区'}
-
-
-
- 算网协同系统 :: 稳定 -
-
diff --git a/web_backend.py b/web_backend.py index 1b957df..d2a3020 100644 --- a/web_backend.py +++ b/web_backend.py @@ -441,7 +441,7 @@ def reset_demo_environment(): return { "ok": True, "message": "演示环境已恢复出厂设置。", - "items": list_library(), + "items": [record], }