yusheng 1 месяц назад
Родитель
Сommit
e1f7df106f
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      src/views/home/index.vue

+ 1 - 1
src/views/home/index.vue

@@ -646,7 +646,7 @@
 
         // 计算总数
         const total =
-          res?.levelStats?.reduce((sum, item) => sum + item.count, 0) || 1247;
+          res?.levelStats?.reduce((sum, item) => sum + item.count, 0) || 0;
 
         const option = {
           tooltip: {