fix: 循环依赖问题 & 关闭 useMobileUI (#2973)

This commit is contained in:
liaoxuezhi 2021-11-17 18:48:55 +08:00 committed by GitHub
parent d20f613a18
commit eb38a50763
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -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;

View File

@ -770,7 +770,7 @@ export class Select extends React.Component<SelectProps, SelectState> {
hideSelected,
renderMenu,
mobileClassName,
useMobileUI = true
useMobileUI = false
} = this.props;
const {selection} = this.state;