File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -133,7 +133,7 @@ export default {
133133 let defaultActiveFirst = defaultActiveFirstOption ;
134134 if ( selectedKeys . length || firstActiveValue ) {
135135 if ( props . visible && ! this . lastVisible ) {
136- activeKeyProps . activeKey = selectedKeys [ 0 ] || firstActiveValue ; ;
136+ activeKeyProps . activeKey = selectedKeys [ 0 ] || firstActiveValue ;
137137 } else if ( ! visible ) {
138138 // Do not trigger auto active since we already have selectedKeys
139139 if ( selectedKeys [ 0 ] ) {
@@ -183,7 +183,7 @@ export default {
183183 if ( inputValue !== this . lastInputValue && ( ! lastValue || lastValue !== backfillValue ) ) {
184184 activeKeyProps . activeKey = '' ;
185185 }
186- menuProps . props = { ...activeKeyProps , ...menuProps . props , ... { defaultActiveFirst} } ;
186+ menuProps . props = { ...activeKeyProps , ...menuProps . props , defaultActiveFirst } ;
187187 return < Menu { ...menuProps } > { clonedMenuItems } </ Menu > ;
188188 }
189189 return null ;
You can’t perform that action at this time.
0 commit comments