Remove refresh for web
This commit is contained in:
@@ -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<HomeFundModelState & DispatchProp> = ({
|
||||
dispatch,
|
||||
@@ -102,6 +103,7 @@ const FundPage: React.FC<HomeFundModelState & DispatchProp> = ({
|
||||
onRefresh={onRefresh}
|
||||
loading={loadingList}
|
||||
enableLoading={!loadingFinished}
|
||||
enableRefresh={!isApp()}
|
||||
onLoadMore={() => dispatch({ type: 'homeFund/loadList' })}
|
||||
itemKey={data => data.id}
|
||||
itemSize={80}
|
||||
|
||||
@@ -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<HomeCommunityModelState & DispatchProp> = ({
|
||||
dispatch,
|
||||
@@ -106,6 +107,7 @@ const CommunityPage: React.FC<HomeCommunityModelState & DispatchProp> = ({
|
||||
onRefresh={onRefresh}
|
||||
loading={loadingList}
|
||||
enableLoading={!loadingFinished}
|
||||
enableRefresh={!isApp()}
|
||||
onLoadMore={() => dispatch({ type: 'homeCommunity/loadList' })}
|
||||
itemKey={data => data.id}
|
||||
itemSize={60}
|
||||
|
||||
Reference in New Issue
Block a user