feat:完善功能
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user