File tree 2 files changed +2
-3
lines changed
2 files changed +2
-3
lines changed Original file line number Diff line number Diff line change 1
1
import { defineComponent , inject } from 'vue' ;
2
2
import classNames from '../_util/classNames' ;
3
- import { isMobile } from 'is-mobile ' ;
3
+ import isMobile from '../vc-menu/utils/isMobile ' ;
4
4
import Input from './Input' ;
5
5
import LoadingOutlined from '@ant-design/icons-vue/LoadingOutlined' ;
6
6
import SearchOutlined from '@ant-design/icons-vue/SearchOutlined' ;
@@ -43,7 +43,7 @@ export default defineComponent({
43
43
return ;
44
44
}
45
45
this . $emit ( 'search' , this . input . stateValue , e ) ;
46
- if ( ! isMobile ( { tablet : true } ) ) {
46
+ if ( ! isMobile . tablet ) {
47
47
this . input . focus ( ) ;
48
48
}
49
49
} ,
Original file line number Diff line number Diff line change 210
210
"async-validator" : " ^3.3.0" ,
211
211
"dom-align" : " ^1.10.4" ,
212
212
"dom-scroll-into-view" : " ^2.0.0" ,
213
- "is-mobile" : " ^2.2.1" ,
214
213
"lodash-es" : " ^4.17.15" ,
215
214
"moment" : " ^2.27.0" ,
216
215
"omit.js" : " ^2.0.0" ,
You can’t perform that action at this time.
0 commit comments