File tree 2 files changed +4
-4
lines changed
2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -365,7 +365,7 @@ export default {
365
365
'fieldNames' ,
366
366
] )
367
367
368
- let options = this . options
368
+ let options = props . options
369
369
if ( inputValue ) {
370
370
options = this . generateFilteredOptions ( prefixCls )
371
371
}
Original file line number Diff line number Diff line change @@ -92,13 +92,13 @@ export default {
92
92
value ( val , oldValue ) {
93
93
if ( ! shallowEqualArrays ( val , oldValue ) ) {
94
94
const newValues = {
95
- value : oldValue || [ ] ,
96
- activeValue : oldValue || [ ] ,
95
+ sValue : val || [ ] ,
96
+ sActiveValue : val || [ ] ,
97
97
}
98
98
// allow activeValue diff from value
99
99
// https://github.com/ant-design/ant-design/issues/2767
100
100
if ( hasProp ( this , 'loadData' ) ) {
101
- delete newValues . activeValue
101
+ delete newValues . sActiveValue
102
102
}
103
103
this . setState ( newValues )
104
104
}
You can’t perform that action at this time.
0 commit comments