|
@@ -25,7 +25,6 @@ const getVipApi = async () => {
|
|
const Profile = () => {
|
|
const Profile = () => {
|
|
const { data: userInfo } = useRequest<any, any>(userInfoApi, {
|
|
const { data: userInfo } = useRequest<any, any>(userInfoApi, {
|
|
pollingErrorRetryCount: 1,
|
|
pollingErrorRetryCount: 1,
|
|
- pollingWhenHidden: false,
|
|
|
|
});
|
|
});
|
|
const { data: userMoney } = useRequest<any, any>(getUserMoneyApi, {
|
|
const { data: userMoney } = useRequest<any, any>(getUserMoneyApi, {
|
|
pollingErrorRetryCount: 1,
|
|
pollingErrorRetryCount: 1,
|
|
@@ -33,7 +32,6 @@ const Profile = () => {
|
|
});
|
|
});
|
|
const { data: userVip } = useRequest<any, any>(getVipApi, {
|
|
const { data: userVip } = useRequest<any, any>(getVipApi, {
|
|
pollingErrorRetryCount: 1,
|
|
pollingErrorRetryCount: 1,
|
|
- pollingWhenHidden: false,
|
|
|
|
});
|
|
});
|
|
|
|
|
|
return (
|
|
return (
|