update Menu

update Menu
This commit is contained in:
梁灏 2016-12-08 14:13:17 +08:00
parent ab673ebc6b
commit 21cc957ac5
4 changed files with 42 additions and 4 deletions

View file

@ -45,7 +45,7 @@
`${prefixCls}`,
{
[`${prefixCls}-${this.mode}`]: this.mode,
[`${prefixCls}-${this.theme}`]: this.theme
[`${prefixCls}-${this.theme}`]: this.mode === 'horizontal' || (this.mode === 'vertical' && this.theme !== 'primary')
}
]
}