From eb38a50763c629a4063db8a96a2d81acb393f0bd Mon Sep 17 00:00:00 2001 From: liaoxuezhi Date: Wed, 17 Nov 2021 18:48:55 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E5=BE=AA=E7=8E=AF=E4=BE=9D=E8=B5=96?= =?UTF-8?q?=E9=97=AE=E9=A2=98=20&=20=E5=85=B3=E9=97=AD=20useMobileUI=20(#2?= =?UTF-8?q?973)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/PickerColumn.tsx | 2 +- src/components/Select.tsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/PickerColumn.tsx b/src/components/PickerColumn.tsx index d5caf5f15..c4a5950cb 100644 --- a/src/components/PickerColumn.tsx +++ b/src/components/PickerColumn.tsx @@ -20,7 +20,7 @@ import {range} from '../utils/helper'; import {themeable, ThemeProps} from '../theme'; import {localeable, LocaleProps} from '../locale'; import useTouch from '../hooks/use-touch'; -import {Button} from '.'; +import Button from './Button'; export interface PickerColumnProps extends ThemeProps, LocaleProps { mobileClassName?: string; diff --git a/src/components/Select.tsx b/src/components/Select.tsx index aebf348d3..193f7de04 100644 --- a/src/components/Select.tsx +++ b/src/components/Select.tsx @@ -770,7 +770,7 @@ export class Select extends React.Component { hideSelected, renderMenu, mobileClassName, - useMobileUI = true + useMobileUI = false } = this.props; const {selection} = this.state;