|
|
@@ -42,7 +42,7 @@ onShow(async () => {
|
|
|
console.log('登录判断:', hasLogin.value)
|
|
|
// 登录后查询收益数据
|
|
|
if (hasLogin.value) {
|
|
|
- await getCouponSituationRequest({ logo: 'time' })
|
|
|
+ await getCouponSituationRequest({ queryType: 'time' })
|
|
|
await getShareStateRequest()
|
|
|
deadline.value = Date.now()
|
|
|
await getCouponIssuerApplyByIdRequest()
|
|
|
@@ -126,7 +126,7 @@ function menuClick(page) {
|
|
|
async function onRefresh() {
|
|
|
refreshing.value = true
|
|
|
await userStore.fetchUserInfo()
|
|
|
- await getCouponSituationRequest({ logo: 'time' })
|
|
|
+ await getCouponSituationRequest({ queryType: 'time' })
|
|
|
await getShareStateRequest()
|
|
|
deadline.value = Date.now()
|
|
|
refreshing.value = false
|