File tree 1 file changed +2
-2
lines changed
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -133,7 +133,7 @@ export default {
133
133
let defaultActiveFirst = defaultActiveFirstOption ;
134
134
if ( selectedKeys . length || firstActiveValue ) {
135
135
if ( props . visible && ! this . lastVisible ) {
136
- activeKeyProps . activeKey = selectedKeys [ 0 ] || firstActiveValue ; ;
136
+ activeKeyProps . activeKey = selectedKeys [ 0 ] || firstActiveValue ;
137
137
} else if ( ! visible ) {
138
138
// Do not trigger auto active since we already have selectedKeys
139
139
if ( selectedKeys [ 0 ] ) {
@@ -183,7 +183,7 @@ export default {
183
183
if ( inputValue !== this . lastInputValue && ( ! lastValue || lastValue !== backfillValue ) ) {
184
184
activeKeyProps . activeKey = '' ;
185
185
}
186
- menuProps . props = { ...activeKeyProps , ...menuProps . props , ... { defaultActiveFirst} } ;
186
+ menuProps . props = { ...activeKeyProps , ...menuProps . props , defaultActiveFirst } ;
187
187
return < Menu { ...menuProps } > { clonedMenuItems } </ Menu > ;
188
188
}
189
189
return null ;
You can’t perform that action at this time.
0 commit comments