fix(Layout): 全局布局优化与 Mock 数据增强
This commit is contained in:
@@ -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([]);
|
||||
|
||||
Reference in New Issue
Block a user