feat:对接工单模块接口
This commit is contained in:
@@ -209,9 +209,9 @@
|
||||
)
|
||||
})
|
||||
const channelTotal = computed(() => {
|
||||
return homeData.value?.userPortrait.channel.reduce(
|
||||
(total, current) => Number(current.count) + total,
|
||||
0
|
||||
return (
|
||||
homeData.value?.userPortrait?.channel ||
|
||||
[].reduce((total, current) => Number(current.count) + total, 0)
|
||||
)
|
||||
})
|
||||
</script>
|
||||
|
||||
Reference in New Issue
Block a user