fix(Menu): tab标签切换选中状态焦点重复. fix #1681

This commit is contained in:
invalid w 2023-10-20 12:00:05 +08:00
parent 83aa1da3de
commit 2ec5f6322d

View File

@ -136,7 +136,6 @@
return [ return [
`${prefixCls}-submenu`, `${prefixCls}-submenu`,
{ {
[`${prefixCls}-item-active`]: state.active,
[`${prefixCls}-opened`]: state.opened, [`${prefixCls}-opened`]: state.opened,
[`${prefixCls}-submenu-disabled`]: props.disabled, [`${prefixCls}-submenu-disabled`]: props.disabled,
[`${prefixCls}-submenu-has-parent-submenu`]: unref(getParentSubMenu), [`${prefixCls}-submenu-has-parent-submenu`]: unref(getParentSubMenu),