mirror of
https://github.com/ant-design/ant-design.git
synced 2025-01-18 22:36:31 +08:00
parent
a57760041c
commit
fd0038e9e0
@ -46,7 +46,7 @@ export default class Row extends React.Component<RowProps, RowState> {
|
||||
this.token = ResponsiveObserve.subscribe(screens => {
|
||||
const { gutter } = this.props;
|
||||
if (
|
||||
typeof gutter === 'object' ||
|
||||
(!Array.isArray(gutter) && typeof gutter === 'object') ||
|
||||
(Array.isArray(gutter) && (typeof gutter[0] === 'object' || typeof gutter[1] === 'object'))
|
||||
) {
|
||||
this.setState({ screens });
|
||||
|
Loading…
Reference in New Issue
Block a user