You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The text was updated successfully, but these errors were encountered:
github-actionsbot
changed the title
Menu组件inheritAttrs:false,但未提供相关的class的prop,用于自定义样式
Menu component inheritAttrs: false, but the prop of the related class is not provided for custom style
Dec 15, 2021
Version
3.0.0-alpha.15
Environment
3.0.0-alpha.15
Reproduction link
https://github.com/vueComponent/ant-design-vue/blob/next/components/menu/src/Menu.tsx
Steps to reproduce
var _default2 = (0, _vue.defineComponent)({
name: 'AMenu',
inheritAttrs: false,
props: menuProps,
emits: ['update:openKeys', 'openChange', 'select', 'deselect', 'update:selectedKeys', 'click', 'update:activeKey'],
slots: ['expandIcon', 'overflowedIndicator'],
...
What is expected?
方案1: 恢复inheritAttrs为true
方案2: 增加prop(wrap-class) 自定义样式
What is actually happening?
inheritAttrs: false,
The text was updated successfully, but these errors were encountered: