diff --git a/src/views/mall/statistics/member/index.vue b/src/views/mall/statistics/member/index.vue index 2d4348e9..67b28460 100644 --- a/src/views/mall/statistics/member/index.vue +++ b/src/views/mall/statistics/member/index.vue @@ -267,6 +267,7 @@ const getMemberAreaStatisticsList = async () => { const getMemberSexStatisticsList = async () => { const list = await MemberStatisticsApi.getMemberSexStatisticsList() const dictDataList = getIntDictOptions(DICT_TYPE.SYSTEM_USER_SEX) + dictDataList.push({ label: '未知', value: null } as any) sexChartOptions.series![0].data = dictDataList.map((dictData: DictDataType) => { const userCount = list.find((item: MemberSexStatisticsRespVO) => item.sex === dictData.value) ?.userCount