diff --git a/packages/amis/src/renderers/Page.tsx b/packages/amis/src/renderers/Page.tsx index b74e8a8b8..390bb6d8a 100644 --- a/packages/amis/src/renderers/Page.tsx +++ b/packages/amis/src/renderers/Page.tsx @@ -40,7 +40,7 @@ import {resolveVariable} from 'amis-core'; import {buildStyle} from 'amis-core'; import {PullRefresh} from 'amis-ui'; import position from 'amis-core'; -import {scrollPosition} from 'amis-core'; +import {scrollPosition, isMobile} from 'amis-core'; /** * 样式属性名及值 @@ -786,6 +786,7 @@ export default class Page extends React.Component { data, asideResizor, pullRefresh, + useMobileUI, translate: __ } = this.props; @@ -862,7 +863,7 @@ export default class Page extends React.Component { ) : null} - {pullRefresh && !pullRefresh.disabled ? ( + {useMobileUI && isMobile() && pullRefresh && !pullRefresh.disabled ? (