update Cascader

update Cascader
This commit is contained in:
梁灏 2016-11-15 23:23:16 +08:00
parent c463ab8757
commit bd4e3b9b0a
4 changed files with 85 additions and 29 deletions

View file

@ -13,7 +13,8 @@
return [
`${this.prefixCls}-menu-item`,
{
[`${this.prefixCls}-menu-item-active`]: this.tmpItem.value === this.data.value
[`${this.prefixCls}-menu-item-active`]: this.tmpItem.value === this.data.value,
[`${this.prefixCls}-menu-item-disabled`]: this.data.disabled
}
]
}