feat:【mall 商城】会员统计【antd】20% sex-card.vue 完善

This commit is contained in:
YunaiV
2025-10-19 18:47:48 +08:00
parent fe62992d78
commit 01aef369d7
2 changed files with 13 additions and 23 deletions

View File

@@ -1,12 +1,5 @@
import type { EChartsOption } from 'echarts';
interface ChartData {
name: string;
value: number;
}
/** 会员性别比例图表配置 */
export function getSexChartOptions(data: ChartData[]): EChartsOption {
export function getSexChartOptions(data: any[]): any {
return {
tooltip: {
trigger: 'item',