File tree Expand file tree Collapse file tree 1 file changed +6
-8
lines changed Expand file tree Collapse file tree 1 file changed +6
-8
lines changed Original file line number Diff line number Diff line change @@ -156,6 +156,9 @@ const Select = {
156
156
if ( this . autoFocus || this . _open ) {
157
157
this . focus ( ) ;
158
158
}
159
+ // this.setState({
160
+ // _ariaId: generateUUID(),
161
+ // });
159
162
} ) ;
160
163
} ,
161
164
watch : {
@@ -665,11 +668,9 @@ const Select = {
665
668
} else {
666
669
// why not use setState?
667
670
this . $data . _inputValue = '' ;
668
- this . $nextTick ( ( ) => {
669
- if ( this . getInputDOMNode && this . getInputDOMNode ( ) ) {
670
- this . getInputDOMNode ( ) . value = '' ;
671
- }
672
- } ) ;
671
+ if ( this . getInputDOMNode && this . getInputDOMNode ( ) ) {
672
+ this . getInputDOMNode ( ) . value = '' ;
673
+ }
673
674
}
674
675
const tmpValue = this . getValueByInput ( inputValue ) ;
675
676
if ( tmpValue !== undefined ) {
@@ -1405,9 +1406,6 @@ const Select = {
1405
1406
return null ;
1406
1407
}
1407
1408
// if loading have loading icon
1408
- // if (multiple && !loading) {
1409
- // return null;
1410
- // }
1411
1409
const defaultIcon = loading ? (
1412
1410
< i class = { `${ prefixCls } -arrow-loading` } />
1413
1411
) : (
You can’t perform that action at this time.
0 commit comments