fix: menu custom class, close #5038

pull/5043/head
tangjinzhou 2021-12-15 23:22:14 +08:00
parent 0ee974a3aa
commit 883d6e21ad
1 changed files with 1 additions and 1 deletions

View File

@ -422,7 +422,7 @@ export default defineComponent({
prefixCls={`${prefixCls.value}-overflow`}
component="ul"
itemComponent={MenuItem}
class={className.value}
class={[className.value, attrs.class]}
role="menu"
id={props.id}
data={wrappedChildList}