Skip to content

Commit

Permalink
fix(ui:menu): fix menu dExpandOne not work
Browse files Browse the repository at this point in the history
  • Loading branch information
xiejay97 committed Nov 14, 2021
1 parent d2b267a commit c265bbb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/ui/src/components/menu/Menu.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ export function DMenu(props: DMenuProps) {
const childs = useMemo(() => {
const arr: string[] = [];
const _childs = generateChildren(children).map((child, index) => {
arr.push(child.props.id);
arr.push(child.props.dId);

let tabIndex = child.props.tabIndex;
if (index === 0) {
Expand Down

0 comments on commit c265bbb

Please sign in to comment.