fix(Layout): 全局布局优化与 Mock 数据增强

This commit is contained in:
zdl
2025-12-23 17:45:19 +08:00
parent 602dcf8eee
commit f1ae48bd42
6 changed files with 84 additions and 11 deletions

View File

@@ -18,8 +18,8 @@ export const GlobalSidebarProvider = ({ children }) => {
const { user } = useAuth();
const userId = user?.id;
// 侧边栏展开/收起状态
const [isOpen, setIsOpen] = useState(true);
// 侧边栏展开/收起状态(默认折叠)
const [isOpen, setIsOpen] = useState(false);
// 数据状态
const [watchlist, setWatchlist] = useState([]);