File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -80,7 +80,6 @@ export default function connect(mapStateToProps) {
8080 } ,
8181 } ,
8282 render ( ) {
83- this . preProps = { ...this . $props } ;
8483 const { $slots = { } , $scopedSlots, subscribed, store } = this ;
8584 const props = getOptionProps ( this ) ;
8685 this . preProps = { ...omit ( props , [ '__propsSymbol__' ] ) } ;
Original file line number Diff line number Diff line change @@ -222,7 +222,8 @@ const Menu = {
222222 const { layoutSiderContext, $slots } = this ;
223223 const { collapsedWidth } = layoutSiderContext ;
224224 const { getPopupContainer : getContextPopupContainer } = this . configProvider ;
225- const { prefixCls : customizePrefixCls , theme, getPopupContainer } = this . $props ;
225+ const props = getOptionProps ( this ) ;
226+ const { prefixCls : customizePrefixCls , theme, getPopupContainer } = props ;
226227 const getPrefixCls = this . configProvider . getPrefixCls ;
227228 const prefixCls = getPrefixCls ( 'menu' , customizePrefixCls ) ;
228229 const menuMode = this . getRealMenuMode ( ) ;
@@ -235,7 +236,7 @@ const Menu = {
235236
236237 const menuProps = {
237238 props : {
238- ...omit ( this . $ props, [ 'inlineCollapsed' ] ) ,
239+ ...omit ( props , [ 'inlineCollapsed' ] ) ,
239240 getPopupContainer : getPopupContainer || getContextPopupContainer ,
240241 openKeys : this . sOpenKeys ,
241242 mode : menuMode ,
You can’t perform that action at this time.
0 commit comments