Explorar o código

selectedKeys -> openKeys

visuddhinanda hai 1 ano
pai
achega
c5c3534c4f
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      dashboard-v4/dashboard/src/pages/studio/task/index.tsx

+ 1 - 1
dashboard-v4/dashboard/src/pages/studio/task/index.tsx

@@ -9,7 +9,7 @@ const { Content } = Layout;
 const Widget = () => {
   return (
     <Layout>
-      <LeftSider selectedKeys="task" />
+      <LeftSider openKeys={["task"]} />
       <Content style={{ ...styleStudioContent }}>
         <Outlet />
       </Content>