publish 0.9.10-rc-1
publish Menu component
This commit is contained in:
parent
21cc957ac5
commit
fd5cd82376
5 changed files with 8 additions and 5 deletions
|
@ -41,11 +41,14 @@
|
|||
},
|
||||
computed: {
|
||||
classes () {
|
||||
let theme = this.theme;
|
||||
if (this.mode === 'vertical' && this.theme === 'primary') theme = 'light';
|
||||
|
||||
return [
|
||||
`${prefixCls}`,
|
||||
`${prefixCls}-${theme}`,
|
||||
{
|
||||
[`${prefixCls}-${this.mode}`]: this.mode,
|
||||
[`${prefixCls}-${this.theme}`]: this.mode === 'horizontal' || (this.mode === 'vertical' && this.theme !== 'primary')
|
||||
[`${prefixCls}-${this.mode}`]: this.mode
|
||||
}
|
||||
]
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue