feat:完善功能

This commit is contained in:
zjc
2025-02-22 12:59:47 +08:00
parent 23fbbcdb78
commit 2d881eae08
8 changed files with 96 additions and 124 deletions

View File

@@ -147,22 +147,6 @@
const scenicQueueXAxisData = computed(() => {
return homeStore.scenicQueueData.dataList.map((item) => item.name)
})
// 年龄占比 - 游客总数
const ageRateTotal = computed(() => {
return homeStore?.userPortraitData?.genderRate.reduce(
(total, current) => Number(current.count) + total,
0
)
})
// 购票来源 - 游客总数
const channelTotal = computed(() => {
return homeStore.userPortraitData?.channel.reduce(
(total, current) => Number(current.count) + total,
0
)
})
</script>
<style lang="scss" scoped>