From 915424730f27445da2e8de13b62e77179cc1a15a Mon Sep 17 00:00:00 2001
From: zhengyiming <540361168@qq.com>
Date: 星期一, 18 八月 2025 17:07:39 +0800
Subject: [PATCH] fix: 关闭移动充值渠道,打开电信充值渠道
---
packages/components/src/views/Mine/Dashboard.vue | 13 ++++++++++---
1 files changed, 10 insertions(+), 3 deletions(-)
diff --git a/packages/components/src/views/Mine/Dashboard.vue b/packages/components/src/views/Mine/Dashboard.vue
index 3d624ad..fcf6639 100644
--- a/packages/components/src/views/Mine/Dashboard.vue
+++ b/packages/components/src/views/Mine/Dashboard.vue
@@ -29,7 +29,7 @@
<DashboardItem
title="绱鏀剁泭"
:icon="IconDashboard5"
- :value="toThousand(topStatistics?.accumulatedIncome ?? 0)"
+ :value="toThousand(topStatistics?.accumulatedChannlesRakePrice ?? 0)"
need-symbol
/>
<DashboardItem
@@ -80,7 +80,10 @@
const { blLifeRecharge } = useLifeRechargeContext();
const { data: topStatistics } = useQuery({
- queryKey: ['lifePayServices/getTopStatistics', blLifeRecharge.accountModel.userChannles],
+ queryKey: [
+ 'lifePayServices/getTopStatistics',
+ computed(() => blLifeRecharge.accountModel.userChannles),
+ ],
queryFn: async () => {
return await blLifeRecharge.services.getTopStatistics(
{
@@ -92,6 +95,10 @@
);
},
placeholderData: () => ({} as TopStatisticsOutput),
- enabled: computed(() => blLifeRecharge.accountModel.isBackClientUser),
+ enabled: computed(() => {
+ return (
+ !!blLifeRecharge.accountModel.isBackClientUser && blLifeRecharge.accountModel.isGetUserInfo
+ );
+ }),
});
</script>
--
Gitblit v1.9.1