From 60b9c62a3165f304a933cbac304ac3d43a24f722 Mon Sep 17 00:00:00 2001
From: zhengyiming <540361168@qq.com>
Date: 星期四, 17 四月 2025 09:25:09 +0800
Subject: [PATCH] fix: 优化

---
 packages/components/src/views/Mine/Dashboard.vue |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/packages/components/src/views/Mine/Dashboard.vue b/packages/components/src/views/Mine/Dashboard.vue
index 90f4cec..06d6b0a 100644
--- a/packages/components/src/views/Mine/Dashboard.vue
+++ b/packages/components/src/views/Mine/Dashboard.vue
@@ -75,7 +75,7 @@
   queryFn: async () => {
     return await blLifeRecharge.services.getTopStatistics(
       {
-        channleId: '',
+        channleList: blLifeRecharge.accountModel.userChannles.map((x) => x.channlesNum),
       },
       {
         showLoading: false,
@@ -83,6 +83,6 @@
     );
   },
   placeholderData: () => ({} as TopStatisticsOutput),
-  enabled: computed(() => blLifeRecharge.accountModel.userChannles.length > 0),
+  enabled: computed(() => blLifeRecharge.accountModel.isBackClientUser),
 });
 </script>

--
Gitblit v1.9.1