diff --git a/dist.zip b/dist.zip index 1df4403..acaab35 100644 Binary files a/dist.zip and b/dist.zip differ diff --git a/src/page/index/components/CoreBusinessData/CoreBusinessData.vue b/src/page/index/components/CoreBusinessData/CoreBusinessData.vue index 5b6a01d..1b46860 100644 --- a/src/page/index/components/CoreBusinessData/CoreBusinessData.vue +++ b/src/page/index/components/CoreBusinessData/CoreBusinessData.vue @@ -581,8 +581,9 @@ const getDisplayData = (dataRef: any) => { } // 获取当前显示模式的标签 -const getDisplayLabel = (defaultLabel: string) => { - return isShowingAmount.value ? `今日${defaultLabel}营收` : `今日${defaultLabel}数量` +const getDisplayLabel = (defaultLabel: string, type: number) => { + // 1数量 2 笔数 + return isShowingAmount.value ? `今日${defaultLabel}营收` : `今日${defaultLabel}${type === 1 ? '数量' : type === 2 ? '笔数' : ''}` } defineExpose({ @@ -598,7 +599,7 @@ defineExpose({