From 91f00f1df35a964d69f48b9f71b484e2d4ef357e Mon Sep 17 00:00:00 2001
From: zhengyiming <540361168@qq.com>
Date: 星期三, 11 六月 2025 16:52:57 +0800
Subject: [PATCH] fix: v1.4

---
 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