Variable DashboardStateConst
DashboardState: Context<{
miniNav: boolean;
openDesign: boolean;
openNav: boolean;
selectid: string;
setMiniNav: Dispatch<SetStateAction<boolean>>;
setOpenDesign: Dispatch<SetStateAction<boolean>>;
setOpenNav: Dispatch<SetStateAction<boolean>>;
setSelectid: Dispatch<SetStateAction<string>>;
}> = ...
Dashboard 公用一个状态