diff --git a/src/pages/home/fund/index.tsx b/src/pages/home/fund/index.tsx index 50a9cee..bd008ff 100644 --- a/src/pages/home/fund/index.tsx +++ b/src/pages/home/fund/index.tsx @@ -8,6 +8,7 @@ import Label from '@/components/Label'; import List from '@/components/List'; import styles from './style.less'; +import { isApp } from '@/utils/h5plus'; const FundPage: React.FC = ({ dispatch, @@ -102,6 +103,7 @@ const FundPage: React.FC = ({ onRefresh={onRefresh} loading={loadingList} enableLoading={!loadingFinished} + enableRefresh={!isApp()} onLoadMore={() => dispatch({ type: 'homeFund/loadList' })} itemKey={data => data.id} itemSize={80} diff --git a/src/pages/home/market/index.tsx b/src/pages/home/market/index.tsx index ac87c6c..a06680c 100644 --- a/src/pages/home/market/index.tsx +++ b/src/pages/home/market/index.tsx @@ -11,6 +11,7 @@ import { dispatch } from '@/utils/utils'; import styles from './style.less'; import { displayPhone } from '@/utils/transform'; +import { isApp } from '@/utils/h5plus'; const CommunityPage: React.FC = ({ dispatch, @@ -106,6 +107,7 @@ const CommunityPage: React.FC = ({ onRefresh={onRefresh} loading={loadingList} enableLoading={!loadingFinished} + enableRefresh={!isApp()} onLoadMore={() => dispatch({ type: 'homeCommunity/loadList' })} itemKey={data => data.id} itemSize={60}