Skip to content

Conversation

benjycui
Copy link
Member

close: #15

src/Menus.jsx Outdated
option.children.length > 0) {
const hasChildren = option.children && option.children.length > 0;
if (hasChildren || option.isLeaf === false) {
menuItemCls += ` ${prefixCls}-menu-item-with-children`;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

都用 -expand 这个 className 就行了。

@coveralls
Copy link

Coverage Status

Coverage increased (+0.1%) to 91.667% when pulling 77f29b3 on feat-with-children-identifier into ec4a2cd on master.

@benjycui benjycui force-pushed the feat-with-children-identifier branch from 77f29b3 to 9e486ca Compare August 23, 2016 05:47
@benjycui
Copy link
Member Author

Updated.

@coveralls
Copy link

Coverage Status

Coverage increased (+0.09%) to 91.623% when pulling 9e486ca on feat-with-children-identifier into ec4a2cd on master.

@afc163 afc163 merged commit a1d16ae into master Aug 25, 2016
@afc163 afc163 deleted the feat-with-children-identifier branch August 25, 2016 05:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

视觉上需要区分是否有下一层选项

3 participants