File tree Expand file tree Collapse file tree 2 files changed +2
-3
lines changed Expand file tree Collapse file tree 2 files changed +2
-3
lines changed Original file line number Diff line number Diff line change 11import { defineComponent , inject } from 'vue' ;
22import classNames from '../_util/classNames' ;
3- import { isMobile } from 'is-mobile ' ;
3+ import isMobile from '../vc-menu/utils/isMobile ' ;
44import Input from './Input' ;
55import LoadingOutlined from '@ant-design/icons-vue/LoadingOutlined' ;
66import SearchOutlined from '@ant-design/icons-vue/SearchOutlined' ;
@@ -43,7 +43,7 @@ export default defineComponent({
4343 return ;
4444 }
4545 this . $emit ( 'search' , this . input . stateValue , e ) ;
46- if ( ! isMobile ( { tablet : true } ) ) {
46+ if ( ! isMobile . tablet ) {
4747 this . input . focus ( ) ;
4848 }
4949 } ,
Original file line number Diff line number Diff line change 210210 "async-validator" : " ^3.3.0" ,
211211 "dom-align" : " ^1.10.4" ,
212212 "dom-scroll-into-view" : " ^2.0.0" ,
213- "is-mobile" : " ^2.2.1" ,
214213 "lodash-es" : " ^4.17.15" ,
215214 "moment" : " ^2.27.0" ,
216215 "omit.js" : " ^2.0.0" ,
You can’t perform that action at this time.
0 commit comments