diff --git a/src/App.tsx b/src/App.tsx index 288e073..d6dedcf 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -122,7 +122,7 @@ function App() { const [showTimezone, setShowTimezone] = useState(() => { // 从 localStorage 读取,默认显示时区 (true) const saved = localStorage.getItem('clock-showTimezone') - return saved === null ? true : saved === 'true' + return saved === null ? false : saved === 'true' }) // 切换样式时保存到 localStorage