diff --git a/src/components/common/Navigation/Navigation.tsx b/src/components/common/Navigation/Navigation.tsx index ff62332..6b751dc 100644 --- a/src/components/common/Navigation/Navigation.tsx +++ b/src/components/common/Navigation/Navigation.tsx @@ -75,12 +75,14 @@ const navItems: NavItem[] = [ label: '汇率', ariaLabel: '汇率管理 - 管理货币汇率', }, + /* { path: '/ledgers/manage', icon: 'solar:notebook-bold-duotone', label: '账本', ariaLabel: '账本管理 - 切换和管理账本', }, + */ { path: '/settings', icon: 'solar:settings-bold-duotone', diff --git a/src/pages/Home/Home.tsx b/src/pages/Home/Home.tsx index a5b989a..4119286 100644 --- a/src/pages/Home/Home.tsx +++ b/src/pages/Home/Home.tsx @@ -279,10 +279,9 @@ function Home() {
-
setLedgerSelectorOpen(true)} style={{ display: 'inline-flex', alignItems: 'center', gap: '6px', background: 'rgba(255,255,255,0.4)', padding: '4px 10px', borderRadius: '20px', fontSize: '0.8rem', cursor: 'pointer', border: '1px solid rgba(255,255,255,0.5)' }}> +
{currentLedger?.name || '默认账本'} -
{new Date().toLocaleDateString('zh-CN', { weekday: 'short', month: 'long', day: 'numeric' })}