This commit is contained in:
jxxghp
2023-07-11 10:12:38 +08:00
parent f8f59f929f
commit a8027f1316
@@ -88,7 +88,7 @@ const options = controlledComputed(
); );
// 图表数据 // 图表数据
const series = ref([{ data: [37, 57, 45, 75, 57, 40, 65] }]); const series = ref([{ data: [0, 0, 0, 0, 0, 0, 0] }]);
// 总数 // 总数
const totalCount = computed(() => series.value[0].data.reduce((a, b) => a + b, 0)); const totalCount = computed(() => series.value[0].data.reduce((a, b) => a + b, 0));